Class VirtualRoleOptions
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Specifies how Virtual roles should be setup.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Security.Internal
Assembly: EPiServer.Framework.dll
Version: 10.10.4Syntax
[Options]
public class VirtualRoleOptions : IReplicationType
Constructors
VirtualRoleOptions()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a new instance of VirtualRoleOptions
Declaration
public VirtualRoleOptions()
Properties
VirtualRoleFactories
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Factories for VirtualRoles that is used.
Declaration
public IDictionary<string, Func<IServiceLocator, VirtualRoleProviderBase>> VirtualRoleFactories { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Func<IServiceLocator, VirtualRoleProviderBase>> |
Methods
Add(String, VirtualRoleProviderBase)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds a virtual role instance
Declaration
public VirtualRoleOptions Add(string name, VirtualRoleProviderBase virtualRoleInstance)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the virtual role |
VirtualRoleProviderBase | virtualRoleInstance | A virtual role instance |
Returns
Type | Description |
---|---|
VirtualRoleOptions |
Add(String, Func<VirtualRoleProviderBase>)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds a virtual role instance
Declaration
public VirtualRoleOptions Add(string name, Func<VirtualRoleProviderBase> virtualRoleFactory)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the virtual role |
System.Func<VirtualRoleProviderBase> | virtualRoleFactory | A factory for the virtual role |
Returns
Type | Description |
---|---|
VirtualRoleOptions |
Add(String, Func<IServiceLocator, VirtualRoleProviderBase>)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds a virtual role instance
Declaration
public VirtualRoleOptions Add(string name, Func<IServiceLocator, VirtualRoleProviderBase> virtualRoleFactory)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the virtual role |
System.Func<IServiceLocator, VirtualRoleProviderBase> | virtualRoleFactory | A factory for the virtual role |
Returns
Type | Description |
---|---|
VirtualRoleOptions |
Explicit Interface Implementations
IReplicationType.ReplicationType
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
string IReplicationType.ReplicationType { get; set; }
Returns
Type | Description |
---|---|
System.String |