Take the 2-minute tour ×

How can I find the list of colleagues/Team-members for a SharePoint 2010 user? and how can i find the scope for a specific user profile property (eg..birthday--->Everyone, Interest--->My Team)which user has set on his Mysite?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The UserProfile class has a Colleagues property that contains a ColleagueManager.

MSDN has some examples on how to work with the new User Profile classes and UserProfileManager here.

share|improve this answer
$UserCM = $usrprofile.Colleagues; ($UserCM.GetItems() | where {$_.Group -eq "Peers" } ) $usrprofile["HomePhone"].Privacy –  Karthikeyan May 6 '11 at 15:08

Your Answer


