IObjectPermission.EnumObjectPermissions IObjectPermission.EnumObjectPermissions IObjectPermission.EnumObjectPermissions Method

Definition

Overloads

EnumObjectPermissions() EnumObjectPermissions() EnumObjectPermissions()

Returns an array of Permission objects identifying all explicitly granted object access permissions.

EnumObjectPermissions(ObjectPermissionSet) EnumObjectPermissions(ObjectPermissionSet) EnumObjectPermissions(ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions. The permissions parameter specifies the object access permissions enumerated for the referenced object.

EnumObjectPermissions(String) EnumObjectPermissions(String) EnumObjectPermissions(String)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter.

EnumObjectPermissions(String, ObjectPermissionSet) EnumObjectPermissions(String, ObjectPermissionSet) EnumObjectPermissions(String, ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter, restricted to the object access permissions specified with the privilegeTypes parameter.

EnumObjectPermissions() EnumObjectPermissions() EnumObjectPermissions()

Returns an array of Permission objects identifying all explicitly granted object access permissions.

public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions ();
abstract member EnumObjectPermissions : unit -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions () As ObjectPermissionInfo()

Returns

ObjectPermissionInfo[]

EnumObjectPermissions(ObjectPermissionSet) EnumObjectPermissions(ObjectPermissionSet) EnumObjectPermissions(ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions. The permissions parameter specifies the object access permissions enumerated for the referenced object.

public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
abstract member EnumObjectPermissions : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (permissions As ObjectPermissionSet) As ObjectPermissionInfo()

Parameters

Returns

ObjectPermissionInfo[]

EnumObjectPermissions(String) EnumObjectPermissions(String) EnumObjectPermissions(String)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter.

public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName);
abstract member EnumObjectPermissions : string -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (granteeName As String) As ObjectPermissionInfo()

Parameters

granteeName
String String String

Returns

ObjectPermissionInfo[]

EnumObjectPermissions(String, ObjectPermissionSet) EnumObjectPermissions(String, ObjectPermissionSet) EnumObjectPermissions(String, ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter, restricted to the object access permissions specified with the privilegeTypes parameter.

public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName, Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
abstract member EnumObjectPermissions : string * Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (granteeName As String, permissions As ObjectPermissionSet) As ObjectPermissionInfo()

Parameters

granteeName
String String String

Returns

ObjectPermissionInfo[]

Applies to