|
Sweet.
That second one might be the easiest for what you're
doing. You'd want to modify this part
if
instr(usr.SamAccountName, "$") = 0 then
vLast = usr.get("Sn") vFirst = usr.get("GivenName") vFullname = vLast + ", " + vFirst 'usr.put "displayName", vFullName '<<<<<<<<______change this line to the following two lines usr.put "Sn",
vFirst ' this puts the first name in the last name
field
usr.put "GivenName",
vLast ' this puts the last name in the first name
field
usr.setinfo
wscript.echo usr.displayName end if From: deji Agba [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 1:09 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] AD lists Last Name in the First Name Field Sincerely,
D�j� Ak�m�l�f�, MCSE MCSA MCP+I Microsoft MVP -
Active Directory www.akomolafe.com www.iyaburo.com Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon From: Grantham, Caron Sent: Fri 2/20/2004 9:55 AM To: [EMAIL PROTECTED] Subject: [ActiveDir] AD lists Last Name in the First Name Field We used a 3rd Party
Migration Tool (BindView) to migrate user accounts,
mailboxes and profiles and now we have a problem wherein the AD properties for a
user show up with their last name in the first name field and first name in the
last name field. The GAL and the name display properties are correct
however. The problem exists when a users
wishes to search by first name in Outlook. My
question: Is there an easy way or another tool we can use to fix these
fields? We don't want to use the cumbersome
CSV import/export tool to do this unless it's our only
option. Caron
Grantham
Information
Technology Services (
312-742-
2731 Working
smarter towards a common goal -- EFFICIENCY This
e-mail and any files transmitted with it are the property of
recipient(s)
or otherwise have reason to believe that you have received this message in
error, please notify the sender at 312-742.4000 and delete this message
immediately from your computer. Any other use, retention, dissemination,
forwarding, printing, or copying of this e-mail is strictly
prohibited. |
- [ActiveDir] AD lists Last Name in the First Name Field Grantham, Caron
- RE: [ActiveDir] AD lists Last Name in the First Name ... deji Agba
- RE: [ActiveDir] AD lists Last Name in the First Name ... Mulnick, Al
- RE: [ActiveDir] AD lists Last Name in the First Name ... Mulnick, Al
- RE: [ActiveDir] AD lists Last Name in the First Name ... Grantham, Caron
- RE: [ActiveDir] AD lists Last Name in the First Name ... Mulnick, Al
- RE: [ActiveDir] AD lists Last Name in the First Name ... deji
