Gets a list of the roles that a specified user is in for the configured applicationName.

Namespace:  EPiServer.Security
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public override string[] GetRolesForUser(
	string username
)

Parameters

username
Type: System..::.String
The user to return a list of roles for.

Return Value

A string array containing the names of all the roles that the specified user is in for the configured applicationName.

See Also