Export (0) Print
Expand All

UserProfileService.GetInCommon method

Gets the membership groups, colleagues, and manager that the specified user shares with the current user.

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

[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
Type: System.String

The account name of the user.

Return value

Type: WebSvcUserProfileService.InCommonData
The common information that the specified user shares with the current user.

ExceptionCondition
SoapException

The common information cannot be retrieved.

This method returns the common data including the membership groups, colleagues, and manager that the specified user and the current user have in common.

Community Additions

ADD
Show:
© 2014 Microsoft