A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class PrincipalAccessor

Accessor to get and set current System.Security.Principal.IPrincipal

Inheritance
System.Object
PrincipalAccessor
Namespace: EPiServer.Security
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public class PrincipalAccessor : Object

Constructors

PrincipalAccessor()

Declaration
public PrincipalAccessor()

Properties

Current

Gets or sets the current System.Security.Principal.IPrincipal

Declaration
public static IPrincipal Current { get; set; }
Property Value
Type Description
System.Security.Principal.IPrincipal

Extension Methods