LassoScript Utility
Basics Browse Detail


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


[LDAP->Open] opens a connection to an LDAP server. Requires a host name and port.


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


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


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