UserProfileService.RemoveLink method

Removes a quick link for the specified account name.

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

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

Parameters

accountName
Type: System.String

The account name of the user.

id
Type: System.Int32

The unique ID for the link to remove.

ExceptionCondition
SoapException

The link cannot be deleted.

This method deletes the link with the specified ID for the user specified by the accountName parameter.

Show: