Share via


UserProfileService.AddPinnedLink Method

Adds a pinned link for the specified account name.

Namespace:  websvcUserProfileService
Assembly:  MOSSSOAP (in MOSSSOAP.dll)

Syntax

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

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

Parameters

  • accountName
    Type: System.String
    Account name of the user to add a pinned link to.

Return Value

Type: websvcUserProfileService.PinnedLinkData

See Also

Reference

UserProfileService Class

UserProfileService Members

websvcUserProfileService Namespace