Answered Getting user profile basing on Editor field of an item

  • Sunday, April 15, 2012 7:42 PM
     
     

    Hi,

    I have some items in my library and I want to get a profile and an email of a person who last edited the item. I use SPDataQuery and ask for "Editor" field. I am getting the results in such format 12312#System User. What is this structure? How can I use it to get a user profile and his email?

    I am using the following code:

    UserProfileManager upm = new UserProfileManager(context);

    UserProfile profile = upm.GetUserProfile(??);

All Replies