| SimpleMappingRoleProviderGetRolesForUser Method |
Gets a list of the roles that a specified user is in for the configured applicationName.
Namespace:
Galactic.Web.Security.SimpleMapping
Assembly:
Galactic.Web.Security.SimpleMapping (in Galactic.Web.Security.SimpleMapping.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