Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Request: Transferring info from an AD "Contact" to a AD "User&quo

Status
Not open for further replies.

cheegum

IS-IT--Management
Mar 23, 2008
2
Gentlemen of vb world. Requesting some kind assistance in the following matter.

I have a whole bunch of AD "user" objects. Also in that same box are a whole bunch of AD "contact" objects, one for each user. So for example i have a John who has a User object and also a Contact object.

What i need to do is transfer a whole bunch of information from the "Contact" object of John into the "User" object of John. I can do this manually but for 1000+ users i was thinking maybe a script can help.

I only want to extract some fields of information from the "Contact" object, for example telephoneNumber, department, title, mobile etc. Is there a way i can pull only certain fields and not all of them?

Also there is one field which consists multiple entries, is there a way i can parse that string to separate two entries and re-enter them in the "user" object as two separate fields?

Thanks much for your help people
 
Also one more request.. is there a way the information that has been extracted from the "Contact" object.. can that info be somehow saved in a CSV file? Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top