Property | Type | Description | |
---|---|---|---|
EnsureRolesLoadedIfAuthenticated | void |
Method | Description | |
---|---|---|
GetReadOnlyRoleNames ( ) : List |
Gets a list of the role names this user is within.
|
|
IsInAnyRole ( ) : bool |
Determines if this user has access to perform actions in any of the specified roles.
|
|
IsInRole ( string role ) : bool |
Determines if this user has access to perform actions of the specified role.
|
|
UserPrincipal ( ) : System |
Creates an anonymous principal
|
|
UserPrincipal ( |
Creates a principal from another identity
|
|
UserPrincipal ( |
Creates a principal from another principal
|
Method | Description | |
---|---|---|
EnsureRolesLoadedIfAuthenticated ( ) : void |
public IsInRole ( string role ) : bool | ||
role | string | The role name. Use a value from KnownRoles for /// standard role names. |
return | bool |
public UserPrincipal ( |
||
identity | ||
return | System |
public UserPrincipal ( |
||
principal | ||
authType | String | |
return | System |