Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.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 } )


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.


Authenticate connection:

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

See also

Example Databases

LDAP.AddRecord   -   LDAP.Connect

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins