4D v15

Company Directory (LDAP)

Home

 
4D v15
Company Directory (LDAP)

Chapter Company Directory (LDAP)    


 

 

4D v15 includes new features allowing your 4D application to connect to an existing company directory using the LDAP protocol. New commands of the "LDAP" theme provide tools for logging into a company directory server such as MS Active Directory, and querying it.

These new commands allow you to:

  • use the Windows session login and password to grant access to your 4D application (if using MS Active directory) so that the end user only needs to remember a single password,
  • query the corporate directory to retrieve user information such as full name, email, phone number, office building, groups the person belongs to, etc.

Note: LDAP or Lightweight Directory Access Protocol is an open standard for accessing and maintaining distributed information services. For more information, please refer to the Wikipedia page on LDAP or the OpenLDAP Software main page.

In 4D, an LDAP connection is opened using LDAP LOGIN. It is then bound to the current 4D process and must be closed using LDAP LOGOUT, or when the process terminates its execution.

Here is a list of the main acronyms used in the LDAP environment:

AcronymDefinition
LDAPLightweight Directory Access Protocol
ADActive Directory. AD is a directory services database implemented by Microsoft, and LDAP is one of the protocols you can use to talk to it.
CNCommon Name, for example "John Doe"
DNDistinguished Name, for example "cn=John Doe,ou=users,dc=example,dc=com"
SAM-Account-NameSecurity Account Manager, logon name for AD, for example "jdoe"
OUOrganizational unit, groups of the server tree
DCDomain components, root and first branches of the server tree
uidUser identifier

 
 

 
PROPERTIES 

Product: 4D
Theme: Company Directory (LDAP)

 
HISTORY 

 
ARTICLE USAGE

4D v15 - Upgrade (R-release edition) ( 4D v15)

Parent of : Company Directory (LDAP) ( 4D v15)