Class CreatorRole
Handles access rights for the creator of a page
Inherited Members
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class CreatorRole : VirtualRoleProviderBase
Constructors
CreatorRole()
Declaration
public CreatorRole()
Properties
RoleName
Gets the name of the role.
Declaration
public static string RoleName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the role. |
Methods
Initialize(String, NameValueCollection)
Initializes CreatorRole by disabling EnableIsInRoleCache
Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the role |
System.Collections.Specialized.NameValueCollection | config | Configuration settings |
IsInVirtualRole(IPrincipal, Object)
Determines whether the specified principal is a member of this role.
Declaration
public override bool IsInVirtualRole(IPrincipal principal, object context)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Principal.IPrincipal | principal | The principal. |
System.Object | context | The context. |
Returns
Type | Description |
---|---|
System.Boolean |
|