Email Lookup
Created: 04 Mar 2011 | 3 comments
I am creating a workflow 7 webform the takes a users Last & First name in textboxes. What i would like help with is using the Last or First name to dynamically populate another textbox for the user's email from either Active Directory or the Service Desk.
Discussion Filed Under:
Comments 3 Comments • Jump to latest comment
Not clear on what you want to do? Are you needing to lookup info from AD? Or create a new email address for a user?
rob
Lookup from AD.
Last Name and First name are not unique fields in AD. If you want info on the logged in user, you can use the loggeed in user which gives you the SAMACCOUNTNAME. That is unique, so you can search on that.
Otherwise, you'd have to generate a list of users with the last name you are looking and have the user select the right one. Then you can retrieve all the info about that particualr user using Get User Details.
rob
Would you like to reply?
Login or Register to post your comment.