Script functions reference > Script functions in alphabetical order > L > LdapGetUser

LdapGetUser
Syntax
LdapGetUser(connName, base, user, attribute, objectClass);
connName 
base
user
attribute
objectClass
Description
Searches the LDAP directory for a specific user.
Returns
entryID
If the search is successful an entryID is returned. The entryID can be used with subsequent calls to access the attributes of the entry.
""
Example
$user=ldapGetUser("con","cn=Users,dc=dev,dc=streamserve,dc=com", "Administrator", "cn", "user" );
OpenText StreamServe 5.6 Updated: 2013-03-01