Is there a way to create SPFieldUserValue using firstname lastmane combination? I have first name and last name of user and wanted to find email address for that user.
-Thanks in adv.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIs there a way to create SPFieldUserValue using firstname lastmane combination? I have first name and last name of user and wanted to find email address for that user.
-Thanks in adv.
There are multiple scenarios where a last name and a first name are not unique. Think about it, what would happen if two people were named say Adam Smith?
Therefore there is no such constructor, and should not be such a constructor http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfielduservalue.spfielduservalue(v=office.14).aspx