Gets a value indicating whether the specified user is in the specified role for the configured applicationName.

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

Syntax

C#
public override bool IsUserInRole(
	string username,
	string roleName
)

Parameters

username
Type: System..::.String
The user name to search for.
roleName
Type: System..::.String
The role to search in.

Return Value

true if the specified user is in the specified role for the configured applicationName; otherwise, false.

See Also