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 MappedRoleOptions

Contains settings for mapped roles

Inheritance
System.Object
MappedRoleOptions
Namespace: EPiServer.Security
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public class MappedRoleOptions : Object

Constructors

MappedRoleOptions()

Declaration
public MappedRoleOptions()

Properties

MappedRoles

A list of roles this role is mapped to.

Declaration
public ISet<string> MappedRoles { get; }
Property Value
Type Description
System.Collections.Generic.ISet<System.String>

ShouldMatchAll

Specifies if all mapped roles must match to be considered part of this role

Declaration
public bool ShouldMatchAll { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods