UserProfileService.UpdatePinnedLink Method

Updates the pinned link data for the specified account name.

Namespace:  [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/UpdatePinnedLink", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub UpdatePinnedLink ( _
    accountName As String, _
    data As PinnedLinkData _
)
'Usage
Dim instance As UserProfileService
Dim accountName As String
Dim data As PinnedLinkData

instance.UpdatePinnedLink(accountName, _
    data)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/UpdatePinnedLink", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdatePinnedLink(
    string accountName,
    PinnedLinkData data
)

Parameters

Exceptions

Exception Condition
SoapException

The pinned link data cannot be updated.

ArgumentNullException

data is null .

Remarks

This method updates the specified pinned link with the new value for the user specified by the accountName parameter.

See Also

Reference

UserProfileService Class

UserProfileService Members

UserProfileService Web Service