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: System.Collections.Specialized.StringCollection

A StringCollection system object value that specifies the roles of which the database is a member.

Return to top
Show: