ExtendedStoredProcedure.EnumObjectPermissions ExtendedStoredProcedure.EnumObjectPermissions ExtendedStoredProcedure.EnumObjectPermissions Method

Definition

Enumerates a list of permissions for the extended stored procedure.

Overloads

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

Enumerates a list of permissions for the extended stored procedure that belongs to the specified user.

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

Enumerates a list of permissions for the extended stored procedure that belong to the specified user and limited to the specified permission set.

EnumObjectPermissions() EnumObjectPermissions() EnumObjectPermissions()

Enumerates a list of permissions for the extended stored procedure.

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

Enumerates a list of permissions for the extended stored procedure limited to the specified permission set.

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

Enumerates a list of permissions for the extended stored procedure that belongs to the specified user.

public:
 virtual cli::array <Microsoft::SqlServer::Management::Smo::ObjectPermissionInfo ^> ^ EnumObjectPermissions(System::String ^ granteeName);
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName);
Public Function EnumObjectPermissions (granteeName As String) As ObjectPermissionInfo()
Parameters
granteeName
String String String

A String value that specifies the user who is owner of the extended stored procedure.

Returns

An ObjectPermissionInfo object array value that contains a list of permissions for the extended stored procedure.

Implements

Examples

Working with Database Objects

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

Enumerates a list of permissions for the extended stored procedure that belong to the specified user and limited to the specified permission set.

public:
 virtual cli::array <Microsoft::SqlServer::Management::Smo::ObjectPermissionInfo ^> ^ EnumObjectPermissions(System::String ^ granteeName, Microsoft::SqlServer::Management::Smo::ObjectPermissionSet ^ permissions);
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName, Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
Public Function EnumObjectPermissions (granteeName As String, permissions As ObjectPermissionSet) As ObjectPermissionInfo()
Parameters
granteeName
String String String

A String value that specifies the user who is owner of the extended stored procedure.

permissions
ObjectPermissionSet ObjectPermissionSet ObjectPermissionSet

An ObjectPermissionSet object that limits the enumerated list to those listed.

Returns

An ObjectPermissionInfo object array value that contains a list of permissions for the extended stored procedure.

Implements

Examples

Working with Database Objects

EnumObjectPermissions() EnumObjectPermissions() EnumObjectPermissions()

Enumerates a list of permissions for the extended stored procedure.

public:
 virtual cli::array <Microsoft::SqlServer::Management::Smo::ObjectPermissionInfo ^> ^ EnumObjectPermissions();
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions ();
Public Function EnumObjectPermissions () As ObjectPermissionInfo()
Returns

An ObjectPermissionInfo object array value that contains a list of permissions for the extended stored procedure.

Implements

Examples

Working with Database Objects

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

Enumerates a list of permissions for the extended stored procedure limited to the specified permission set.

public:
 virtual cli::array <Microsoft::SqlServer::Management::Smo::ObjectPermissionInfo ^> ^ EnumObjectPermissions(Microsoft::SqlServer::Management::Smo::ObjectPermissionSet ^ permissions);
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
Public Function EnumObjectPermissions (permissions As ObjectPermissionSet) As ObjectPermissionInfo()
Parameters
permissions
ObjectPermissionSet ObjectPermissionSet ObjectPermissionSet

An ObjectPermissionSet object that limits the enumerated list to those listed.

Returns

An ObjectPermissionInfo object array value that contains a list of permissions for the extended stored procedure.

Implements

Examples

Working with Database Objects

See Also

Applies to