Class CurrentUserService
A service for getting the current user.
Inheritance
System.Object
CurrentUserService
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: Mediachase.Commerce.Security
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CurrentUserService
Constructors
CurrentUserService()
Declaration
public CurrentUserService()
Methods
GetCurrentUser()
Gets the current user using EPiServer.Security.PrincipalInfo.CurrentPrincipal
Declaration
public virtual IPrincipal GetCurrentUser()
Returns
Type | Description |
---|---|
System.Security.Principal.IPrincipal |