volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

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
arrow_upward