Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  


Authenticates a client to the LDAP server.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
LDAP 6.0 Yes Yes Yes Yes No
MBS( "LDAP.Bind"; LDAPRef; DN; Cred; AuthMethod { ; Domain } )   More


Parameter Description Example value
LDAPRef The reference number for the LDAP connection. $ldap
DN Test that contains the distinguished name of the entry used to bind. This can be a DN, a UPN, a WinNT style user name, or other name that the directory server will accept as an identifier.
Cred The credentials with which to authenticate. Arbitrary credentials can be passed using this parameter. The format and content of the credentials depends on the setting of the method parameter.
AuthMethod The authentication method to use.
Can be simple, SASL or Negotiate.
On Mac OS X, also none, KRBv4, KRBv41 and KRBv42 are accepted.
On Windows, also Sicily, MSN, NTLM, DPA, SSPI, Digest and External are accepted.
Domain Optional
Domain for Windows.


Returns OK or error.


Authenticates a client to the LDAP server.
See also SystemInfo.ADSystemInfo function to query details about logged in computer user.


Authenticate connection:

Set Variable [$r; Value:MBS("LDAP.Bind"; $ldap; $UserName; $Password; $AuthMethod)]

See also

Example Databases

Blog Entries

Created 15th December 2015, last changed 18th October 2019

LDAP.AddRecord   -   LDAP.Connect

Feedback: Report problem or ask question.

MBS Xojo blog