User Changes in AD stuck in people picker

My organization recently changed the user naming policy, removing spaces from user names replacing them with dots.

For the most part everything works fine with this change, however, the old user name appears to be “stuck” in the dropdown in the people-picker controls used in lists.

I’ve found that if I explicitly type in the proper name (with the dot) it works fine…but it still brings up the old name with the space between names as a possible selection.

When the name with the space is used it presents an error: “The user does not exist or is not unique.”

How can I make the old name go away?

SharePoint online custom people picker

function search(request,response) {       var sourceURL =  _spPageContextInfo.webAbsoluteUrl+ "/_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser";       var principalType = this.element[0].getAttribute('principalType');       $  .ajax(        {           'url':sourceURL,           'method':'POST',           'data':JSON.stringify({               'queryParams':{                   '__metadata':{                       'type':'SP.UI.ApplicationPages.ClientPeoplePickerQueryParameters'                   },                   'AllowEmailAddresses':true,                   'AllowMultipleEntities':false,                   'AllUrlZones':false,                   'MaximumEntitySuggestions':50,                   'PrincipalSource':15,                   'PrincipalType': principalType,                   'QueryString':request.term,                   'Required':false                }           }),           'headers':{               'accept':'application/json;odata=verbose',               'content-type':'application/json;odata=verbose',               'X-RequestDigest': requestDigest //$  ("#__REQUESTDIGEST").val() //           },           'success':function (data) {                var d = data;               var results = JSON.parse(data.d.ClientPeoplePickerSearchUser);               if (results.length > 0) {                   response($  .map(results, function (item) {                       return {label:item.DisplayText,value:item.DisplayText}                   }));               }                       },           'error':function (err) {                alert(JSON.stringify(err));            }       }     );    }  

I’m getting

Uncaught ReferenceError: requestDigest is not defined.

what is ‘principalType’? when I try to debug returns null.

When Multiples are Allowed – Finding the IDs of the People Selected in a peoplePicker

On another page, I have a peoplepicker saving to SharePoint (when only one person can be selected). I used this tutorial (https://www.c-sharpcorner.com/article/custom-people-picker-in-sharepoint-online/)

And, I’m trying to adapt that to grab the id’s of people when more than one is allowed… I “thought” I did this correctly by putting it into an array, but I’m missing something. Appreciate any help/suggestions..

function ensureUser() {          var peoplePickerTopDivId = $  ('#peoplePickerUsers').children().children().attr('id');         var peoplePicker = this.SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerTopDivId];         var users = peoplePicker.GetAllUserInfo();         var arryuser = users[0];         if (arryuser) {             var payload = { 'logonName': arryuser.Key };             $  .ajax({                 url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/ensureuser",                 type: "POST",                 async: false,                 contentType: "application/json;odata=verbose",                 data: JSON.stringify(payload),                 headers: {                     "X-RequestDigest": $  ("#__REQUESTDIGEST").val(),                     "accept": "application/json;odata=verbose"                 },                 success: function (data, status, xhr) {                     UserId = data.d.Id;                 },                 error: function (xhr, status, error) {                 }             });         }         else {             UserId = 0;         }     }   function addRequest() {           var userID = [];         $  ('.peoplePickerUsers:selected').each(function () {             userID .push($  (this).val());         })          var item = {             "__metadata": { "type": "SP.Data.NewDepartmentListItem" },              "EmployeeID":{                 "__metadata": { "type": "Collection(Edm.String)" },                 "results": UserId             }       };           $  .ajax({             url: _spPageContextInfo.webAbsoluteUrl + "/_api/Web/lists/getbytitle('" + listName + "')/Items",             type: "POST",             contentType: "application/json;odata=verbose",             data: JSON.stringify(item),             headers: {                 "Accept": "application/json;odata=verbose",                 "X-RequestDigest": $  ("#__REQUESTDIGEST").val()             },             success: function (data) {               },             error: function (data) {              }         });         return false;     }  

How many people need to succeed in a group check with three people?

In the comments of this answer it came up that the section on “Group Checks” states:

To make a group ability check, everyone in the group makes the ability check. If at least half the group succeeds, the whole group succeeds. Otherwise, the group fails…

It came up what does “half the group” mean when there also exists a rule on “Round Down”:

There’s one more general rule you need to know at the outset. Whenever you divide a number in the game, round down if you end up with a fraction, even if the fraction is one-half or greater.

There are two possibilities brought up in those comments:

  1. At least 1.5 people must succeed, and since you can’t have half-people 2-3 people must succeed on the check.

  2. The 1.5 people required rounds down to 1 person, so 1-3 people must succeed on the check.

Which of these interpretations is correct?

disable people picker 2010

I am using following “code” to disable people picker in custom edit form:

$  ("div[id$  ='_UserField_upLevelDiv']").attr("contentEditable",false);//Disabling People picker $  ("span[id$  ='_UserField']").find("img").hide(); //hiding search field and check which are adjacent to people picker 

Control is disabled but when there is something (or rather someone) in the field already, I can select that person and delete it by pressing delete on the keyboard. Is there a way of restricting that behavior?

Just found out that it is working fine in IE10 but not in Chrome.

SharePoint 2013 (Welcome Page) Search People missing from Page Layout

I want to create a Employee Directory then i followed some link to do it.

I am trying to add the (Welcome Page) Search People from Page layout but i can’t find it.

All required features were already activated but i still can’t find it. I am using SharePoint 2013.

Hope Someone could help me. Thanks in advance

Get paid to refer people online for free

I recently found an app that pays 1$ per referral and it is available worldwide.
No skills or experience required and its free.
SIGNUP BONUS IS 1$
Minimum payout is only 2.5$

Pays through paypal
Many people are earning 100$ per day, so please join today and make money from it.
Just click the link below and then you will land on a page and from there click on get it now and then download the app and register and start earning

Get the app here

Make money online referring people to an app

I recently found an app that pays 1$ per referral and it is available worldwide.
No skills or experience required and its free.
SIGNUP BONUS IS 1$
Minimum payout is only 2.5$

Pays through paypal
Many people are earning 100$ per day, so please join today and make money from it.
Just click the link below and then you will land on a page and from there click on get it now and then download the app and register and start earning

Get the app here