UserProfileService.RemovePinnedLink Method

Removes a pinned link for the specified account name.

Web Service: User ProfileWeb Reference: http://<Site>/_vti_bin/UserProfileService.asmx

Syntax

'Declaration
<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 Sub RemovePinnedLink ( _
    accountName As String, _
    id As Integer _
)
'Usage
Dim instance As UserProfileService
Dim accountName As String
Dim id As Integer

instance.RemovePinnedLink(accountName, id)
[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
    Account name of the user.
  • id

See Also

Reference

UserProfileService Class
UserProfileService Members
User Profile Web Service