Interface IVirtualRoleReplication
Interface used to replicate changes from VirtualRoleRepository<T>
Namespace: EPiServer.Security
Assembly: EPiServer.Framework.dll
Version: 10.10.4Syntax
public interface IVirtualRoleReplication
Methods
ClearRepositoryCache()
Sends an event that the repository cache should be cleared
Declaration
void ClearRepositoryCache()
Register(String, Type)
Replicate virtual role to other machines
Declaration
void Register(string name, Type virtualRoleProviderType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the role |
System.Type | virtualRoleProviderType | The type of the role |
Unregister(String)
Replicate unregistration of the role to another machine
Declaration
void Unregister(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Events
ClearRepositoryCacheReceived
Occurs when a clear cache event has been broadcasted.
Declaration
event EventHandler<EventArgs> ClearRepositoryCacheReceived
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |
RegisterReceived
Fired when an register event is received
Declaration
event EventHandler<VirtualRoleReplicationEventArgs> RegisterReceived
Event Type
Type | Description |
---|---|
System.EventHandler<VirtualRoleReplicationEventArgs> |
UnregisterReceived
Fired when an unregister event is received
Declaration
event EventHandler<VirtualRoleReplicationEventArgs> UnregisterReceived
Event Type
Type | Description |
---|---|
System.EventHandler<VirtualRoleReplicationEventArgs> |