UserProfileService.GetCommonManager Method
Gets the common 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/GetCommonManager", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetCommonManager ( _
accountName As String _
) As ContactData
'Usage
Dim instance As UserProfileService
Dim accountName As String
Dim returnValue As ContactData
returnValue = instance.GetCommonManager(accountName)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetCommonManager", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ContactData GetCommonManager(
string accountName
)
Parameters
- accountName
Type: System.String
Account name of the user.
Return Value
Type: websvcUserProfileService.ContactData
A ContactData object.
Remarks
For an example of how to use the GetCommonManager method, see the example in GetCommonColleagues method.