Granted Property
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The Granted property reports the access right of a user or login to the object referenced by the Permission object.
Syntax
object
.Granted
Part
- object
An expression that evaluates to an object in the Applies To list
Data Type
Boolean
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetGranted(LPBOOL pRetVal);
Remarks
If TRUE, the access right is granted.
If FALSE, the access right is denied.