UserProfileService.RemoveAllPinnedLinks method

Removes all pinned links for the specified user.

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

Syntax

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

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

Parameters

Exceptions

Exception Condition
SoapException

The link cannot be removed.

Remarks

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

See also

Reference

UserProfileService class

UserProfileService members

WebSvcUserProfileService namespace