Class ActiveDirectoryPlugin
OptimaJet.Workflow.Plugins.ActiveDirectoryPlugin.ActiveDirectoryPlugin
Plugin for working with Active Directory. Contains Actions and Authorization Rules.
Namespace: OptimaJet.Workflow.Plugins.ActiveDirectoryPlugin
public sealed class ActiveDirectoryPlugin : IWorkflowPluginInheritance
- System.Object
Implemented Interfaces
Constructors
public ActiveDirectoryPlugin(ActiveDirectorySource source, LdapImplementation ldapImplementation = LdapImplementation.NovellLdap) #Creates plugin with specific source.
Parameters
Name
Type
Description
sourceActiveDirectorySourceThe source.
ldapImplementationLdapImplementationThe LDAP protocol implementation.
public ActiveDirectoryPlugin(List<ActiveDirectorySource> sources, LdapImplementation ldapImplementation = LdapImplementation.NovellLdap) #Creates plugin with specific sources.
Parameters
Name
Type
Description
sourcesList<ActiveDirectorySource>The list of sources.
ldapImplementationLdapImplementationThe LDAP protocol implementation.
public ActiveDirectoryPlugin(IActiveDirectoryMethods activeDirectoryMethods) #Creates plugin with specific custom LDAP protocol implementation.
Parameters
Name
Type
Description
activeDirectoryMethodsIActiveDirectoryMethodsCustom LDAP protocol implementation.
Properties
Name
Type
Name #StringThe plugin name.
Disabled #BooleanFlag to disable plugin, if true - plugin is disabled, false otherwise.
PluginSettings #Dictionary<String>The plugin settings.
Methods
public void OnPluginAdd(WorkflowRuntime runtime, List<string>? schemes = null) #Called when a plugin is added to a runtime.
Parameters
Name
Type
Description
runtimeWorkflowRuntimeThe instance of the runtime.
schemesList<String>The list of schemes for which the plugin is being added.
public Task OnPluginRemoveAsync(WorkflowRuntime runtime) #Parameters
Name
Type
Description
runtimeWorkflowRuntimeReturns
Type
Description
Taskpublic Task OnRuntimeStartAsync(WorkflowRuntime runtime) #Called when the runtime is started.
Parameters
Name
Type
Description
runtimeWorkflowRuntimeThe instance of the runtime.
Returns
Type
Description
TaskA task that represents the asynchronous operation.
Fields
public readonly IActiveDirectoryMethods ActiveDirectoryMethods #