#122201 - 2004-07-06 11:58 AM
Accessing users' other properties - Sig maker
|
maiike
Fresh Scripter
Registered: 2002-11-27
Posts: 25
Loc: France
|
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)
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 569 anonymous users online.
|
|
|