SPWeb.EnsureUser
Suppose you need to perform some actions on a SharePoint user such as role assignment, but you are unsure if the user exists within the site you are currently working…
Suppose you need to perform some actions on a SharePoint user such as role assignment, but you are unsure if the user exists within the site you are currently working…