Tag Info

New answers tagged


Careful! EnsureUser, "Checks whether the specified logon name belongs to a valid user of the website, and if the logon name does not already exist, adds it to the website." from MSDN. But you may use: SPUser user = context.Web.SiteUsers.GetByEmail(fullUserName); MSDN

Top 50 recent answers are included