If you want to get the user details like Name, Email and other details
of SharePoint user based on ID (Example: 12;domain\username), then the
below code will be useful
SPContext.Current.Web.AllUsers.GetById(12).Email
No comments:
Post a Comment