UserProfileService.GetCommonColleagues method

Gets the common colleagues that the specified user shares with the current user.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetCommonColleagues", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ContactData[] GetCommonColleagues(
	string accountName
)

Parameters

accountName
Type: System.String

The account name of the user.

Return value

Type: []
An array that contains the information about the common colleagues that the specified user shares with the current user.

ExceptionCondition
SoapException

The colleagues cannot be retrieved.

This method returns the list of colleagues that the specified user and the current user have in common.

Show: