Share via


UserProfileService.GetInCommon Method

Gets the common memberships, colleagues, and manager a particular user shares with the current user.

Namespace:  websvcUserProfileService
Assembly:  MOSSSOAP (in MOSSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetInCommon", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetInCommon ( _
    accountName As String _
) As InCommonData
'Usage
Dim instance As UserProfileService
Dim accountName As String
Dim returnValue As InCommonData

returnValue = instance.GetInCommon(accountName)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetInCommon", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public InCommonData GetInCommon(
    string accountName
)

Parameters

Return Value

Type: websvcUserProfileService.InCommonData
An InCommonData object.

Remarks

For an example of how to use the GetInCommon method, see the example in GetCommonColleagues method.

See Also

Reference

UserProfileService Class

UserProfileService Members

websvcUserProfileService Namespace