|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
AD Info od User or ComputerHello,
Is there a way to retrieve the info of a user (or computer) from the AD as specified in AD users and Computers Properties using MMC. Especially the fields specified under tabs: General; Address; Account; Profile; Telephones and Organization. This because we are currently maintaining this information on two separate locations. In the AD and a SQLServer table used for internal purposes, which is accessed by a small program I wrote to retrieve information of a user (ie Home Address, Phonenumbers, Working days/hours, Birthday etc). Thanks, Bart On Tue, 24 May 2005 12:32:43 +0200, "Bart Steur" <soln***@xs4all.nl> wrote: ¤ Hello,¤ ¤ Is there a way to retrieve the info of a user (or computer) from the AD as ¤ specified in AD users and Computers Properties using MMC. Especially the ¤ fields specified under tabs: General; Address; Account; Profile; Telephones ¤ and Organization. ¤ This because we are currently maintaining this information on two separate ¤ locations. In the AD and a SQLServer table used for internal purposes, which ¤ is accessed by a small program I wrote to retrieve information of a user (ie ¤ Home Address, Phonenumbers, Working days/hours, Birthday etc). ¤ Yes, it is possible using ADSI. The following should get you started: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/setting_up_visual_basic_for_adsi_development.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnactdir/html/BuildingADApps.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_activediradsi.asp If you have more specific questions you may want to post a follow-up. Paul ~~~~ Microsoft MVP (Visual Basic) |
|||||||||||||||||||||||