SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to retrieve the user profile properties in a webpart so i can display some kind of CV in a new tab on the my sites.

Regarding this tutorial ( i need different references. i looked it up and according to msdn they are a part of .NET 4 which i surely have already installed..

are there some references which i have to add manually?

share|improve this question
Can you please explain the specifics of your problem? Can you not find the files to reference? Are you getting an error when trying to build with those references? – Dave Wise Jul 28 '11 at 22:26
i didn't find the files to reference. for me it looked like i just had to use the reference and not add it specifically.. - though i found the files in the meantine ;) thanks – Peter Aug 2 '11 at 8:32
up vote 1 down vote accepted

Are you developing on a system that has SharePoint Server installed? You need to add the project references to

Microsoft.Office.Server Microsoft.Office.Server.UserProfiles

As long as you are on a server with SharePoint Server installed, you will be able to add those references, they are not added by default.

share|improve this answer

Do you have problems writing your webpart, or is this just an informational question? second: you need the .Net 3.5 runtime, not .Net 4.0

share|improve this answer
I have problems writing the webpart because i can't add the necessary references.. and i have .NET 3.5 installed :/ – Peter Jul 28 '11 at 10:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.