November Happy Hour will be moved to Thursday December 5th.

Class IPrincipalExtensions

Inheritance
System.Object
IPrincipalExtensions
Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.ApplicationModules.dll
Version: 12.0.3
Syntax
public static class IPrincipalExtensions : Object

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