Class VirtualRolesElement
  
  Configuration for virtual roles
    Inheritance
    System.Object
    VirtualRolesElement
   
  
  Assembly: EPiServer.Framework.dll
  Version: 10.10.4
  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 | trueif 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