Class PermissionRole
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
PermissionRole
Assembly: EPiServer.dll
Version: 9.12.2
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 |
|
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