| ActiveDirectoryRoleProviderGetRolesForUser Method |
Gets a list of the roles that a specified user is in for the configured applicationName.
Namespace:
Galactic.Web.Security.ActiveDirectory
Assembly:
Galactic.Web.Security.ActiveDirectory (in Galactic.Web.Security.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public override string[] GetRolesForUser(
string username
)
Public Overrides Function GetRolesForUser (
username As String
) As String()
public:
virtual array<String^>^ GetRolesForUser(
String^ username
) override
abstract GetRolesForUser :
username : string -> string[]
override GetRolesForUser :
username : string -> string[]
Parameters
- username
- Type: SystemString
The user to return a list of roles for.
Return Value
Type:
StringA string array containing the names of all the roles that the specified user is in for the configured applicationName.
See Also