Class PermissionRole
Inheritance
System.Object
PermissionRole
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class PermissionRole : VirtualRoleProviderBase
Constructors
PermissionRole()
Declaration
Properties
Permission
The permission to check for
Declaration
public PermissionType Permission { get; set; }
Property Value
Methods
Initialize(String, NameValueCollection)
Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Specialized.NameValueCollection |
config |
|
Overrides
IsInVirtualRole(IPrincipal, Object)
Declaration
public override bool IsInVirtualRole(IPrincipal principal, object context)
Parameters
Type |
Name |
Description |
System.Security.Principal.IPrincipal |
principal |
|
System.Object |
context |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Extension Methods