GrantedGranted 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 GrantedGranted property reports the access right of a user or login to the object referenced by the Permission2 object.

Syntax

object.GrantedGranted

Parts

  • object
    An 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 right is GRANT with the GRANT OPTION.

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

Note

GrantedGranted can be used with Microsoft SQL Serverâ„¢ 2005, SQL Server 2000, and SQL Server version 7.0.

Applies To:

Permission2 Object