Workflow Engine .NET

Assembly: OptimaJet.Workflow.ActiveDirectoryPlugin

Class ActiveDirectoryPlugin

OptimaJet.Workflow.Plugins.ActiveDirectoryPlugin.ActiveDirectoryPlugin

Plugin for working with Active Directory. Contains Actions and Authorization Rules.

public sealed class ActiveDirectoryPlugin : IWorkflowPlugin

Inheritance

  • System.Object

Implemented Interfaces

Constructors

public ActiveDirectoryPlugin(ActiveDirectorySource source, LdapImplementation ldapImplementation = LdapImplementation.NovellLdap) #
Creates plugin with specific source.

Parameters

Name
Type
Description
source
ActiveDirectorySource
The source.
ldapImplementation
LdapImplementation
The LDAP protocol implementation.
public ActiveDirectoryPlugin(List<ActiveDirectorySource> sources, LdapImplementation ldapImplementation = LdapImplementation.NovellLdap) #
Creates plugin with specific sources.

Parameters

Name
Type
Description
sources
List<ActiveDirectorySource>
The list of sources.
ldapImplementation
LdapImplementation
The LDAP protocol implementation.
public ActiveDirectoryPlugin(IActiveDirectoryMethods activeDirectoryMethods) #
Creates plugin with specific custom LDAP protocol implementation.

Parameters

Name
Type
Description
activeDirectoryMethods
IActiveDirectoryMethods
Custom LDAP protocol implementation.

Properties

Name
Type
Name #
String
The plugin name.
Disabled #
Boolean
Flag 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
runtime
WorkflowRuntime
The instance of the runtime.
schemes
List<String>
The list of schemes for which the plugin is being added.
public Task OnPluginRemoveAsync(WorkflowRuntime runtime) #

Parameters

Name
Type
Description
runtime
WorkflowRuntime

Returns

Type
Description
Task
public Task OnRuntimeStartAsync(WorkflowRuntime runtime) #
Called when the runtime is started.

Parameters

Name
Type
Description
runtime
WorkflowRuntime
The instance of the runtime.

Returns

Type
Description
Task
A task that represents the asynchronous operation.

Fields

public readonly IActiveDirectoryMethods ActiveDirectoryMethods #