LassoScript Utility
Basics Browse Detail


Tag Link [LDAP] Category LDAP
Type Substitution Source Available No
Support Preferred Version 8.5
Change New Data Source Any
Output Type LDAP Security None
Implementation Internal Sets Lasso 8.5


[LDAP] creates a new LDAP object. Accepts an optional host name and port to immediately open a connection to a server.


Var: 'myLDAP' = LDAP;
$myLDAP->(Open: '');
$myLDAP->(Authenticate: 'myusername', 'mysecretpassword');
Var: 'myResult' = $myLDAP->(Search: 'dc=example,dc=com';
LDAP_Scope_Subtree, '(objectClass=*)', (Array: '*'), False);


Optional Parameters
Host Name The host name of the LDAP server.
Port The port for the LDAP server.


See the Lasso 8 Language Guide for examples of how to use this tag.