UserProfileService.AddPinnedLink method

Adds a pinned link for the specified account name.

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


<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function AddPinnedLink ( _
    accountName As String, _
    name As String, _
    url As String _
) As PinnedLinkData
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("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public PinnedLinkData AddPinnedLink(
    string accountName,
    string name,
    string url


  • accountName
    Type: System.String

    The account name of the user to which a pinned link is added.

Return value

Type: WebSvcUserProfileService.PinnedLinkData
The information about the new pinned link.


Exception Condition

The link cannot be added.


This method creates a new pinned link with the specified name and URL for the specified user.

See also


UserProfileService class

UserProfileService members

WebSvcUserProfileService namespace