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

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

public string Name { get; } #
The name of the source.
public string Host { get; } #
The host name of the Active Directory server.
public int Port { get; } #
The port number of the Active Directory server.
public UsersSource UsersSource { get; } #
The configuration of the users source.
public GroupSource GroupSource { get; } #
The configuration of the groups source.
public bool IsSecureConnection { get; } #
If true, the connection to the server will be secure (SSL).
public bool IsAnonymous { get; } #
If true, the connection to the server will be anonymous.
public string? User { get; set; } #
User Dn for authentication.
public string? Password { get; set; } #
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