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

Class CreatorRole

Handles access rights for the creator of a page

Inheritance
System.Object
CreatorRole
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class CreatorRole : VirtualRoleProviderBase

Constructors

CreatorRole()

Creates a new instance of CreatorRole

Declaration
public CreatorRole()

Properties

Name

Declaration
public override string Name { get; set; }
Property Value
Type Description
System.String
Overrides

RoleName

Gets the name of the role.

Declaration
public static string RoleName { get; set; }
Property Value
Type Description
System.String

The name of the role.

Methods

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

true if the specified principal is in the virtual role; otherwise, false.

Overrides

Extension Methods