Share via


UserProfileService.GetUserPinnedLinks method

Gets the pinned links for the specified user.

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

Syntax

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

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

Parameters

Return value

Type: []
An array that contains the pinned links of the specified user.

Exceptions

Exception Condition
SoapException

The links cannot be retrieved.

Remarks

This method returns the list of pinned links for the user specified by the accountName parameter.

See also

Reference

UserProfileService class

UserProfileService members

WebSvcUserProfileService namespace