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.
Namespace: OptimaJet.Workflow.Plugins.ActiveDirectoryPlugin
public sealed class ActiveDirectorySourceInheritance
- System.Object
Constructors
public ActiveDirectorySource(string name, string host, int port, bool isSecureConnection = false) #Create source instance.
Parameters
Name
Type
Description
nameStringThe name of the source.
hostStringThe host name of the Active Directory server.
portInt32The port number of the Active Directory server.
isSecureConnectionBooleanIf true, the connection to the server will be secure (SSL).
Properties
Name
Type
Name #StringThe name of the source.
Host #StringThe host name of the Active Directory server.
Port #Int32The port number of the Active Directory server.
UsersSource #UsersSourceThe configuration of the users source.
GroupSource #GroupSourceThe configuration of the groups source.
IsSecureConnection #BooleanIf true, the connection to the server will be secure (SSL).
IsAnonymous #BooleanIf true, the connection to the server will be anonymous.
User #StringUser Dn for authentication.
Password #StringUser password for authentication.
Methods
public ActiveDirectorySource SetAuth(string user, string password) #Set authentication for connection to the server.
Parameters
Name
Type
Description
userStringUser Dn for authentication.
passwordStringUser password for authentication.
Returns
Type
Description
ActiveDirectorySourcepublic ActiveDirectorySource SetUsersSource(UsersSource source) #Set user source settings.
Parameters
Name
Type
Description
sourceUsersSourceUser source settings.
Returns
Type
Description
ActiveDirectorySourcepublic ActiveDirectorySource SetGroupsSource(GroupSource source) #Set group source settings.
Parameters
Name
Type
Description
sourceGroupSourceGroup source settings.
Returns
Type
Description
ActiveDirectorySource