Share via


UserProfileService.RemoveColleague Method

Removes a colleague from My Colleagues page for the specified account name.

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

Syntax

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

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

Parameters

  • colleagueAccountName
    Type: System.String
    Account name of the colleague.

See Also

Reference

UserProfileService Class

UserProfileService Members

websvcUserProfileService Namespace