Method | Description | |
---|---|---|
GenericPrincipal ( System identity, string roles ) | ||
GenericPrincipal ( IIdentity identity, string roles ) : System | ||
IsInRole ( string role ) : bool |
Method | Description | |
---|---|---|
AddIdentityWithRoles ( IIdentity identity, string roles ) : void |
helper method to add roles
|
public GenericPrincipal ( System identity, string roles ) | ||
identity | System | |
roles | string |
public GenericPrincipal ( IIdentity identity, string roles ) : System | ||
identity | IIdentity | |
roles | string | |
return | System |