Gets a value indicating whether the specified user is in the specified role for the configured applicationName.
Namespace:
EPiServer.SecurityAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
Parameters
- username
- Type: System..::.String
The user name to search for.
- roleName
- Type: System..::.String
The role to search in.