November Happy Hour will be moved to Thursday December 5th.

Class PermissionRole

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
PermissionRole
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public class PermissionRole : VirtualRoleProviderBase

Constructors

PermissionRole()

Declaration
public PermissionRole()

Properties

Permission

The permission to check for

Declaration
public PermissionType Permission { get; set; }
Property Value
Type Description
PermissionType

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