Class VirtualRolesElement
Configuration for virtual roles
Inheritance
System.Object
VirtualRolesElement
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public class VirtualRolesElement : ConfigurationElement
Constructors
VirtualRolesElement()
Declaration
public VirtualRolesElement()
Properties
AddClaims
Declaration
public bool AddClaims { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
DefaultRoles
Declaration
public static VirtualRolesElement DefaultRoles { get; }
Property Value
FailSafeIsInRole
Gets or sets a value indicating whether IsInRole on VirtualRolePrincipal may throw an exception.
Declaration
public bool FailSafeIsInRole { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if IsInRole is fail safe (cannot throw exception); otherwise, false .
|
Providers
Declaration
public ProviderSettingsCollection Providers { get; }
Property Value
Type |
Description |
System.Configuration.ProviderSettingsCollection |
|
ReplacePrincipal
Declaration
public bool ReplacePrincipal { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ReplicationType
The type that will handle replication of changes in virtual roles
Declaration
public string ReplicationType { get; set; }
Property Value
Type |
Description |
System.String |
|
Extension Methods