Endpoint.EnumObjectPermissions Endpoint.EnumObjectPermissions Endpoint.EnumObjectPermissions Method

Definition

Enumerates a list of permissions for the endpoint.

Overloads

EnumObjectPermissions() EnumObjectPermissions() EnumObjectPermissions()

Enumerates a list of permissions for the endpoint.

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

Enumerates a list of permissions for the endpoint limited to the specified permission set.

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

Enumerates a list of permissions for the endpoint that belongs to the specified user.

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

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

EnumObjectPermissions() EnumObjectPermissions() EnumObjectPermissions()

Enumerates a list of permissions for the endpoint.

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 endpoint.

Implements

Examples

Implementing Endpoints

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

Enumerates a list of permissions for the endpoint 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 endpoint.

Implements

Examples

Implementing Endpoints

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

Enumerates a list of permissions for the endpoint 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 the owner of the endpoint.

Returns

An ObjectPermissionInfo object array value that contains a list of permissions for the endpoint.

Implements

Examples

Implementing Endpoints

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

Enumerates a list of permissions for the endpoint 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 the owner of the endpoint.

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 endpoint.

Implements

Examples

Implementing Endpoints

Applies to