Export (0) Print
Expand All

UserProfileService.RemoveAllColleagues method

Removes all colleagues for the specified user.

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

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

Parameters

accountName
Type: System.String

The account name of the user.

ExceptionCondition
SoapException

The colleagues cannot be removed.

This method deletes all colleagues of the user specified by the accountName parameter.

Community Additions

ADD
Show:
© 2014 Microsoft