I have the following issue inside my SharePoint 2013 farm, regarding usernames' properties.
- I have test farm + live farm. both farms are integrated with the same Active directory.
- For some users i find that their Names are not the same on both farms. for example i have a username =
John Ejohnwhile on the other farm its name =
juhn Ejuhn.. while the user have the same email & account (i got these info from the
/_layouts/15/userdisp.aspxpage from both farms).
- now since on both farms i did not configure the User Profile service, so i can understand that the above issue could have been caused by this scenario; the user accessed certain farm, so a user profile get created for him inside
/_layouts/15/userdisp.aspxpage, then his username got changed on the AD level, and after that he access the other farm, so his user profile got created. and as a result the user have different Name on both farms, while his email and account are the same.
but my question, now i am planning to create some Content Search Web Parts on both farms, and i am going to specify criteria such as :-
to show items which have the Owner = login user. but i am not sure, will the above comparison be based on the Name, or on the Account or on the GUID? and could the above criteria under certain scenarios (as the scenario i specify above) fail to match the user? if his Name have been changed inside the AD?