Search This Blog

Friday, April 17, 2015

Get values from People picker control

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

Restricting Custom People Picker to only one Sharepoint group programatically

Refer the following script files in your page,     <!-- For People Picker -->     <script type="text/javascript" src...