U
Ulf Nilsson
Hi,
In my code:
- users use Outlook address book to choose a different person
- the macro collects the following information:
Company
Department
First and last name
Telephone number
I thought I could use the following code to retrieve the email address:
sCodeResult = Application.GetAddress("", "<PR_EMAIL_ADDRESS>", False, 1, , ,
True, True)
Instead, I get a very long string which apparently ends with the user's user
id. I then use this user id to collect the email address from Active
Directory.
My question is:
Where can I find in the Active Directory this long string I receive in
sCodeResult? The reason I ask is because in some instances, the user id is
not correct.
With kind regards,
/ Ulf
In my code:
- users use Outlook address book to choose a different person
- the macro collects the following information:
Company
Department
First and last name
Telephone number
I thought I could use the following code to retrieve the email address:
sCodeResult = Application.GetAddress("", "<PR_EMAIL_ADDRESS>", False, 1, , ,
True, True)
Instead, I get a very long string which apparently ends with the user's user
id. I then use this user id to collect the email address from Active
Directory.
My question is:
Where can I find in the Active Directory this long string I receive in
sCodeResult? The reason I ask is because in some instances, the user id is
not correct.
With kind regards,
/ Ulf