UserProfileService.RemoveColleague Method
SharePoint 2007
Removes a colleague from My Colleagues page for the specified account name.
Web Service: User ProfileWeb Reference: http://<Site>/_vti_bin/UserProfileService.asmx
[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/RemoveColleague", RequestNamespace="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", ResponseNamespace="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public void RemoveColleague ( string accountName, string colleagueAccountName )
Parameters
- accountName
Account name of the user.
- colleagueAccountName
Account name of the colleague.