Sunday 30 November 2014

User Information List in SharePoint

The User Information List stores information about a user by having some metadata set up for the user.
When a user is granted access to a site, a new item will be created in the User Information List storing some information about the user.

When a user add/create or edit an item, SharePoint will display something like "Last modified at 1/1/2014 by myname myname" . Displayname is gathered from the User Information List.

The User Information List can be accessed (Only if you’re admin) via the browser by navigating to /_catalogs/users/simple.aspx from your site.

User information list is filled with user info when:

1. you grant permissions directly to this user (not via group)
2. user visits site collection first time (users are stored on site collection level, not on site. The fact that /_catalog/users may show different users on different site on the same site collection just says that there is some additional filtering logic)
3. you call SPWeb.EnsureUser() programmatically.

Note: This list is only visible to and accessible by administrators.