ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I search by user profiles by username? (https://www.excelbanter.com/excel-programming/385063-how-do-i-search-user-profiles-username.html)

E Anton

How do I search by user profiles by username?
 
I'm trying to gather user details such as phone number, department, email
address, etc. and add them to a userform using the windows username as the
search criteria.

What is the best way to go about gathering these user details automatically?
Should I be connecting to the Outlook Global Address List, Network Active
Directory, or are these details available locally like "Application.UserName"
??

Tom Ogilvy

How do I search by user profiles by username?
 
Yes, you would need to reference the source of the information. If you
maintain it in the registry, then possibly there, but the Global address list
might be the best.

http://www.vbaexpress.com/kb/getarticle.php?kb_id=222

--
Regards,
Tom Ogilvy



"E Anton" wrote:

I'm trying to gather user details such as phone number, department, email
address, etc. and add them to a userform using the windows username as the
search criteria.

What is the best way to go about gathering these user details automatically?
Should I be connecting to the Outlook Global Address List, Network Active
Directory, or are these details available locally like "Application.UserName"
??



All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com