Showing posts with label userinfo. Show all posts
Showing posts with label userinfo. Show all posts

Saturday 10 October 2015

User Profile Service Application Notes




The People Picker Control in SharePoint 2013 & 2016
  • The People Picker control is used to find user, groups and claims.  You'll notice the people picker UI has 2 queries (you can normally see the lag), firstly the people picker looks at the UserInfo list in the local site collection and then it also looks at Active Directory (this is where the custom claims providers need to be written if you don't use AD).  A common misconception is thinking the people picker users the UPA to look for users, it does not use the UPA directly.  Indirectly, if the UserInfo is populated the People Picker gets the user from the 1st lookup.
  • The UserInfo table is populated with the initial stub when a user is added to the security or the 1st time the login to the site collection.  
  • The UserInfo list is not updated if you add the user via an AD group or if you pick the user in a list within a people picker column.
  • The UserInfo on each site collection gets an initial stub of information in the list and a timer job at the web application level looks for a list of users to perform a sync (update more into for the user in the userinfo table), this runs every 5 minutes by default.  Job is: User Profile to SharePoint Quick Sync.


Wednesday 23 May 2012

User Information List

To see a site collection's hidden user information list append /_catalogs/users/simple.aspx onto the end of the site collection url.
Example:
http://claims.demo.dev/_catalogs/users/simple.aspx

How User InfoWorks?
When a user is given permission to the site collection or the 1st time the user log in, their credentials/user info gets added to the UserInfo list.  The UserInfo user data does not get added to the list when a user is added via AD groups; only when the AD added end user logs into the site collection for the 1st time do they get an entry in the list.
Note: The UserInfo list entry is not added if you pick the user in a list within a people picker column.

For the display of a specific user: _layouts/15/userdisp.aspx?ID=25&Force=True

I get the users Id in the UI by appending this to the URL: /_layouts/15/people.aspx?MembershipGroupId=0 
I then find the user and find their Id and use this URL in the browser to see the user info:
/_layouts/userdisp.aspx?id={UserID}&Force=True