Overview
These public interfaces are used in LDAP components. They are provided for implementing advanced functionality in your scripts. In order for you to use these interfaces in your project, you have to reference CozyRoc.SSISPlus.dll and System.DirectoryServices.Protocols libraries. Also include CozyRoc.SqlServer.SSIS and System.DirectoryServices.Protocols namespaces.
IConnection
When you call LDAP Connection Manager AcquireConnection method, it returns object implementing IConnection interface. This is the interface used for interaction with LDAP service.
Methods
Connects to LDAP service. The method result is LdapConnection object.
Closes the connection to LDAP service. Use always after you finish working with the service.
Returns true if connected to the service.
Gets objects list .
Get object used to manipulate LDAP object. The method returns IObject object. These are the method parameters:
- name (string) - object name.
Returns IEnumerable access to LDAP data, using paged processing. These are the method parameters:
- request (object) - SearchRequest object.
- batchSize (int) - page size.
Properties
Specify the name or IP address of the LDAP server.
Specify user name to access the LDAP service.
Specify user password to access the LDAP service.
Specify the number of seconds before timing out session connect. The default value of this property is 100 seconds.
Specify if all clients should use the same connection. This property has the options listed in the following table.
Value | Description |
---|---|
True | All clients use same connection (default). |
False | Every client uses different connection. |
Specify authentication type. This parameter has the options listed in the following table.
Value | Description |
---|---|
0 | Indicates that the connection should be made without passing credentials. |
1 | Indicates that basic authentication should be used on the connection. |
2 | Indicates that the Digest Access Authentication should be used on the connection. |
3 | Indicates that Distributed Password Authentication (DPA) should be used on the connection. |
4 | Indicates an external method will be used to authenticate the connection. |
5 | Indicates that Kerberos authentication should be used on the connection. |
6 | Indicates that it is authenticated by “Microsoft Network Authentication Service”. |
7 | Indicates that Microsoft Negotiate authentication should be used on the connection. This is the default option. |
8 | Indicates that Windows NT Challenge/Response (NTLM) authentication should be used on the connection. |
9 | Indicates a negotiation mechanism (Sicily) will be used to choose MSN, DPA or NTLM. This should be used for LDAPv2 servers only. |
Specify protocol version.
This property is true if secure socket layer is enabled or false if it is not.
Specify to use Kerberos sealing.
Specify to use Kerberos signing.
IObject
This interface is used for LDAP object management.
Methods
Get object attributes. The method returns array of IAttribute objects.
Properties
Returns the object name.
IAttribute
This interface is used to retrieve LDAP object attribute information.
Properties
Returns attribute name.
Returns true if attribute is read-only.
Returns attribute type.
Returns attribute length.
Returns attribute precision.
Returns attribute scale.
Knowledge Base
Related documentation
COZYROC SSIS+ Components Suite is free for testing in your development environment.
A licensed version can be deployed on-premises, on Azure-SSIS IR and on COZYROC Cloud.