ServerRole.EnumServerRolePermissions ServerRole.EnumServerRolePermissions ServerRole.EnumServerRolePermissions Method

Definition

Warning

This API is now obsolete.

Returns a list of server permissions assigned to the referenced server role.

public:
 System::Data::DataTable ^ EnumServerRolePermissions();
[System.Obsolete]
public System.Data.DataTable EnumServerRolePermissions ();
Public Function EnumServerRolePermissions () As DataTable
Returns

An array of DataTable object values that contain information about server permissions assigned to the server role. The table describes the different columns of the returned DataTable.

Column
Data type
Description
ServerRole
String The fixed server role, for example, sysadmin.
Permission
String The description of the server role permission.

Examples

Managing Users, Roles, and Logins

Applies to