UserProfileService.GetInCommon Method
SharePoint 2007
Gets the common memberships, colleagues, and manager a particular user shares with the current user.
Web Service: User ProfileWeb Reference: http://<Site>/_vti_bin/UserProfileService.asmx
[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetInCommon", RequestNamespace="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", ResponseNamespace="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public InCommonData GetInCommon ( string accountName )
Parameters
- accountName
Account name of the user.
Return Value
An InCommonData object.For an example of how to use the GetInCommon method, see the example in GetCommonColleagues method.