UserProfileService.RemovePinnedLink method

Removes a pinned link for the specified account name.

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

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

Parameters

accountName
Type: System.String

The account name of the user.

id
Type: System.Int32

The ID of the pinned link to remove.

ExceptionCondition
SoapException

The link cannot be removed.

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

Show: