This project has moved and is read-only. For the latest updates, please go here.

User Profile details

Sep 7, 2011 at 12:21 PM


I'm retrieving a list of items from a SP List thanks to GetListItems service or thanks to a RPC call (
One of the columns is person field, means the value I retrieve from the SP Services call is <local site index>#;<user display name> format.

I need to retrieve the User Profiles details of all the person in this list, email and job title for example.


GetUserProfileByName is requesting the login of user as a parameter: domain\userLogin
the only information I have is
<local site index>#;<user display name>

So How to get User Profile info when you only know his display name and local index ?

Thanks for your support.

Sep 8, 2011 at 12:21 PM

The User Information List should be helpful because it stores the users account name in it. You have to do a double request. I did this by stripping the id from the format you are seeing (ie 13;#Fred Flintstone) and using SPServices to get the account name from the User Information list using this ID. Then you have the account name to use in GetUserProfile calls.