Workflow Engine .NET

Assembly: OptimaJet.Workflow.ActiveDirectoryPlugin

Class ActiveDirectorySource

OptimaJet.Workflow.Plugins.ActiveDirectoryPlugin.ActiveDirectorySource

Represents a source of users and groups in Active Directory. Defines the location from which users and groups will be loaded. Contains the settings to connect to the LDAP server.

public sealed class ActiveDirectorySource

Inheritance

  • System.Object

Constructors

public ActiveDirectorySource(string name, string host, int port, bool isSecureConnection = false) #
Create source instance.

Parameters

Name
Type
Description
name
String
The name of the source.
host
String
The host name of the Active Directory server.
port
Int32
The port number of the Active Directory server.
isSecureConnection
Boolean
If true, the connection to the server will be secure (SSL).

Properties

Name
Type
Name #
String
The name of the source.
Host #
String
The host name of the Active Directory server.
Port #
Int32
The port number of the Active Directory server.
UsersSource #
UsersSource
The configuration of the users source.
GroupSource #
GroupSource
The configuration of the groups source.
IsSecureConnection #
Boolean
If true, the connection to the server will be secure (SSL).
IsAnonymous #
Boolean
If true, the connection to the server will be anonymous.
User #
String
User Dn for authentication.
Password #
String
User password for authentication.

Methods

public ActiveDirectorySource SetAuth(string user, string password) #
Set authentication for connection to the server.

Parameters

Name
Type
Description
user
String
User Dn for authentication.
password
String
User password for authentication.

Returns

Type
Description
ActiveDirectorySource
public ActiveDirectorySource SetUsersSource(UsersSource source) #
Set user source settings.

Parameters

Name
Type
Description
source
UsersSource
User source settings.

Returns

Type
Description
ActiveDirectorySource
public ActiveDirectorySource SetGroupsSource(GroupSource source) #
Set group source settings.

Parameters

Name
Type
Description
source
GroupSource
Group source settings.

Returns

Type
Description
ActiveDirectorySource