London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class IPrincipalExtensions

Inheritance
System.Object
IPrincipalExtensions
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.Personalization.VisitorGroups
Assembly: EPiServer.ApplicationModules.dll
Version: 11.20.7
Syntax
public static class IPrincipalExtensions

Methods

IsInRole(IPrincipal, String, SecurityEntityType)

Declaration
public static bool IsInRole(this IPrincipal principal, string role, SecurityEntityType type)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal
System.String role
SecurityEntityType type
Returns
Type Description
System.Boolean