AD Telephone Number field name exported from VBS
- From: Joseph_01 <Joseph01@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 May 2005 13:08:02 -0700
I'm trying to create a vbs script that exports user information similar to
the lines below, but I would like to export the Telephone Number from the
General Tab of a user's properties in AD. Does anyone know what the & objUser
code is for the telephone number? I've searched the internet and tried many
different utilities (ADFIND, useraccount.vbs, listproperties.vbs) but I can't
find the field I require to output the telephone number.
str1 = "Last Login: " & objUser.LastLogin
str2 = "Last Logoff: " & objUser.LastLogoff
str3 = "Phone: " & objUser.?????
.
- Follow-Ups:
- Re: AD Telephone Number field name exported from VBS
- From: Joe Richards [MVP]
- Re: AD Telephone Number field name exported from VBS
- Prev by Date: Re: IGroupPolicyObject::Save()
- Next by Date: AD Design (Best Practise)
- Previous by thread: IGroupPolicyObject::Save()
- Next by thread: Re: AD Telephone Number field name exported from VBS
- Index(es):
Relevant Pages
|