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
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.7
Syntax
public class CreatorRole : VirtualRoleProviderBase

Constructors

CreatorRole()

Creates a new instance of CreatorRole

Declaration
public CreatorRole()

Properties

Name

Gets or sets the name of the Virtual Role

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