Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PermissionInfo class represents information regarding granted or denied privileges.
The following tables list the members exposed by the PermissionInfo type.
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
![]() |
ColumnName | Gets the name of the column that has permissions granted or denied. |
![]() |
Grantee | Gets the name of the database user, logon, or database role who has been granted or denied access to the object. |
![]() |
GranteeType | Gets the type of grantee. |
![]() |
Grantor | Gets the name of the database user, logon, or database role who granted or denied access to the object. |
![]() |
GrantorType | Gets the type of grantor. |
![]() |
ObjectClass | Gets the object class for the object to which permissions have been granted or denied. |
![]() |
ObjectID | Gets the ID value that uniquely identifies the object to which the permission applies. |
![]() |
ObjectName | Gets the name of the object to which the permission applies. |
![]() |
ObjectSchema | Gets the schema of the object to which the permission applies. |
![]() |
PermissionState | Gets the permission state of the object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked. |
Top
Protected Properties
Name | Description | |
---|---|---|
![]() |
PermissionTypeInternal |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ToString | Overridden. Returns the object as a String value. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
PermissionInfo Class
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Granting, Revoking, and Denying Permissions
Permissions
sys.syspermissions (Transact-SQL)