PermissionInfo PermissionInfo PermissionInfo Class

Definition

The PermissionInfo class represents information regarding granted or denied privileges.

public ref class PermissionInfo
public class PermissionInfo
Public Class PermissionInfo
Inheritance
PermissionInfoPermissionInfoPermissionInfo
Derived

Examples

Granting, Revoking, and Denying Permissions

Remarks

The PermissionInfo object is returned by the EnumObjectPermissions method.

Properties

ColumnName ColumnName ColumnName

Gets the name of the column that has permissions granted or denied.

Grantee Grantee Grantee

Gets the name of the database user, logon, or database role who has been granted or denied access to the object.

GranteeType GranteeType GranteeType

Gets the type of grantee.

Grantor Grantor Grantor

Gets the name of the database user, logon, or database role who granted or denied access to the object.

GrantorType GrantorType GrantorType

Gets the type of grantor.

ObjectClass ObjectClass ObjectClass

Gets the object class for the object to which permissions have been granted or denied.

ObjectID ObjectID ObjectID

Gets the ID value that uniquely identifies the object to which the permission applies.

ObjectName ObjectName ObjectName

Gets the name of the object to which the permission applies.

ObjectSchema ObjectSchema ObjectSchema

Gets the schema of the object to which the permission applies.

PermissionState PermissionState 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 PermissionTypeInternal PermissionTypeInternal

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

Gets the permission type internal of the object.

Methods

ToString() ToString() ToString()

Returns the object as a String value.

Applies to