Export (0) Print
Expand All

Server.EnumServerPermissions Method

Enumerates a list of server permissions for the instance of SQL Server.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method EnumServerPermissions() Enumerates a list of server permissions for the instance of SQL Server.
Public method EnumServerPermissions(String) Enumerates a list of server permissions for a specified grantee on the instance of SQL Server.
Public method EnumServerPermissions(ServerPermissionSet) Enumerates a list of server permissions for a specified permission on the instance of SQL Server.
Public method EnumServerPermissions(String, ServerPermissionSet) Enumerates a list of server permissions for a specified grantee and a specified permission on the instance of SQL Server.
Top

Use this method to return an array of ServerPermissionInfo objects that contain information about the permissions currently set on the instance of SQL Server.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft