With Opticon around the corner, we'll be canceling this month's (Sept) Happy Hour.

Class PrincipalExtensions

Inheritance
System.Object
PrincipalExtensions
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.Commerce.Extensions
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("This class is no longer used. Use Mediachase.Commerce.Security.PrincipalExtensions.GetContactId instead. Will remain at least until October 2020.")]
public static class PrincipalExtensions

Methods

GetUserGuid(IPrincipal)

Declaration
public static Guid GetUserGuid(this IPrincipal principal)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal
Returns
Type Description
System.Guid