UserProfileService.RemoveAllLinks Method

Removes all quick links for the specified user.

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

Syntax

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

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

Parameters

Exceptions

Exception Condition
SoapException

The links cannot be removed.

Remarks

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

See Also

Reference

UserProfileService Class

UserProfileService Members

UserProfileService Web Service