GrantedGranted Property

SQL-DMO

SQL-DMO

GrantedGranted Property

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

Applies To
Permission2 Object
Syntax

object.GrantedGranted

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetGrantedGranted(LPBOOL pRetVal);

Remarks

If TRUE, the access privilege is GRANT with the GRANT OPTION.

If FALSE, the access privilege is either DENY or GRANT without the GRANT OPTION.

Note  GrantedGranted can be used with Microsoft® SQL Server™ 2000 and SQL Server version 7.0.