Hey all,

I've started using ADSI in my script to create a signature for Outlook and thus retrieving users' values from AD, thing is I can't get the properties I want (like Phone, Address...) All I can get is Description, FullName. Where could I find a reference containing all the properties of the objects ?

PS : I'm currently using this code :

$LDAP = "WinNT://"+@LDOMAIN+"/"+@USERID+",user"
$oUser = GetObject($LDAP)

$uname = $oUser.FullName

Maybe I should be using the LDAP Method...


A link I've found :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/iadsuser.asp

For others' benefit hopefully


Thanks in advance

Michael



Edited by maiike (2004-07-20 04:35 PM)