Browsing the User Information List
The User Information List can be accessed (Only if you’re admin) via the browser by navigating to from your site. Ex:http://testthepulse/_catalogs/users/simple.aspx or or http://testthepulse/_catalogs/users/detail.aspx
Write code to interact with the User Information List
If you want to interact with this list to set properties on a user (Probably only want to do this if you’re running WSS) you could do it like this:
// Instantiates the User Information List
The above code will give you the SPListItem object which links to the currently logged in user (the one executing the request).
You can then work with the SPListItem object like normal to get or set the properties like this:
User Information List Fields
Instead of writing out all the fields/columns availible, you can simply create a new Console Application and insert the following code in order to output all the fields names and internalnames:
You can write a PowerShell script(named ListWebUserInformationListItems.ps1) as following:
Then execute the script and input the web url when console window display the "Enter the web url" message.
Note: You can use SPQuery the get the User Information List items which are the users in this web application. The users are not all the users in the farm. And if you add a ADGroup to the SharePoint, you will add the only one SharePoint user to user information list(The SharePoint User stand for the ADGroup, the ADUser in the ADGroup will not present to the user information list).
Get a list of all users that have been synchronized into SharePoint.