Class PermissionRole
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 11.20.7Syntax
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 |
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 |