PermissionInfo Class

 

The PermissionInfo class represents information regarding granted or denied privileges.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)


No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubpropertyColumnName

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

System_CAPS_pubpropertyGrantee

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

System_CAPS_pubpropertyGranteeType

Gets the type of grantee.

System_CAPS_pubpropertyGrantor

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

System_CAPS_pubpropertyGrantorType

Gets the type of grantor.

System_CAPS_pubpropertyObjectClass

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

System_CAPS_pubpropertyObjectID

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

System_CAPS_pubpropertyObjectName

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

System_CAPS_pubpropertyObjectSchema

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

System_CAPS_pubpropertyPermissionState

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.

System_CAPS_protpropertyPermissionTypeInternal

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the object as a String value.(Overrides Object.ToString().)

The PermissionInfo object is returned by the EnumObjectPermissions method.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: