g'day,

How can I access the attributes in an LDAP database that contains user info? I'm using the following and get the uid but don't know how to read attributes like title or displayName.

Code:

$ldap="LDAP://luke.abc.ca/uid=@userid, ou=people, DC=abc, DC=ca"
dim $aFilter[0], $pos, $objOU
$objOU = GetObject($LDAP)
? $objOU.Name
if VarTypeName($objOU)='Object'
? "object found "
? $objOU.displayName



Thanks, suggestions would be welcome.

ak