Export (0) Print
Expand All

User.EnumRoles Method

Enumerates a list of roles of which the database user is a member.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public StringCollection EnumRoles()

Return Value

Type: StringCollection
A StringCollection system object value that specifies the roles of which the database is a member.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft