PermissionInfo Class
SQL Server 2012
The PermissionInfo class represents information regarding granted or denied privileges.
System.Object
Microsoft.SqlServer.Management.Smo.PermissionInfo
Microsoft.SqlServer.Management.Smo.DatabasePermissionInfo
Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo
Microsoft.SqlServer.Management.Smo.ServerPermissionInfo
Microsoft.SqlServer.Management.Smo.PermissionInfo
Microsoft.SqlServer.Management.Smo.DatabasePermissionInfo
Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo
Microsoft.SqlServer.Management.Smo.ServerPermissionInfo
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
The PermissionInfo type exposes the following members.
| 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. |
![]() | PermissionTypeInternal | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns the object as a String value. (Overrides Object.ToString().) |

.gif?cs-save-lang=1&cs-lang=jscript)
.gif?cs-save-lang=1&cs-lang=jscript)
.gif?cs-save-lang=1&cs-lang=jscript)
.gif?cs-save-lang=1&cs-lang=jscript)