Export (0) Print
Expand All

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)

public class PermissionInfo

The PermissionInfo type exposes the following members.

  NameDescription
Public propertyColumnNameGets the name of the column that has permissions granted or denied.
Public propertyGranteeGets the name of the database user, logon, or database role who has been granted or denied access to the object.
Public propertyGranteeTypeGets the type of grantee.
Public propertyGrantorGets the name of the database user, logon, or database role who granted or denied access to the object.
Public propertyGrantorTypeGets the type of grantor.
Public propertyObjectClassGets the object class for the object to which permissions have been granted or denied.
Public propertyObjectIDGets the ID value that uniquely identifies the object to which the permission applies.
Public propertyObjectNameGets the name of the object to which the permission applies.
Public propertyObjectSchemaGets the schema of the object to which the permission applies.
Public propertyPermissionStateGets the permission state of the object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked.
Protected propertyPermissionTypeInternalIdentified for informational purposes only. Not supported. Future compatibility is not guaranteed.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the object as a String value. (Overrides ObjectToString.)
Top

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft