if (pplUser.Entities.Count > 0)
{
PickerEntity pe = (PickerEntity)pplUser.Entities[0];
Username = pe.Key;
ouser = SPContext.Current.Web.EnsureUser(Username);
UserID = ouser.ID;
}
No comments:
Post a Comment