Class IPrincipalExtensions
Inheritance
System.Object
IPrincipalExtensions
Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.ApplicationModules.dll
Version: 12.0.3Syntax
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 |