Granted Property

SQL-DMO

SQL-DMO

Granted Property

The Granted property reports the access right of a user or login to the object referenced by the Permission object.

Applies To
Permission Object
Syntax

object.Granted

Part

object

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 privilege is granted.

If FALSE, the access privilege is denied.