Method | Description | |
---|---|---|
DemandAspNetRoleAttribute ( ) : System |
Marks methods and classes as requiring current user to the member of one or more ASP.NET security roles. User must be a member of at least one demanded role in order to be authorized.
|
|
DemandAspNetRoleAttribute ( bool trueDemandAny_falseDemandAll ) : System |
Marks methods and classes as requiring current user to the member of one or more ASP.NET security roles.
|
Method | Description | |
---|---|---|
GetAuthorizedClaims ( ) : IEnumerable |
public DemandAspNetRoleAttribute ( ) : System | ||
return | System |
public DemandAspNetRoleAttribute ( bool trueDemandAny_falseDemandAll ) : System | ||
trueDemandAny_falseDemandAll | bool | /// If true, user must me a member of *at least one* role. If false, user must /// be a member of *all* roles. /// |
return | System |
protected GetAuthorizedClaims ( ) : IEnumerable |
||
return | IEnumerable |