I need to find user-profile using the active directory email account.
Note: its not the 'work-email' but the email in AD.
|
I need to find user-profile using the active directory email account. Note: its not the 'work-email' but the email in AD. |
|||
|
|
|
SPUtility.ResolvePrincipal can do this - but I can't guarantee that it'll be fast. It should be something like:
In this "email" would be your email string. It definitely works, but I have has some issues with speed. It's worth testing. |
|||||
|