Export (0) Print
Expand All

UserProfileService.AddPinnedLink method

Adds a pinned link for the specified account name.

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

[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/AddPinnedLink", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	ResponseNamespace = "http://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

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

name
Type: System.String

The name of the pinned link.

url
Type: System.String

The URL of the pinned link.

Return value

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

ExceptionCondition
SoapException

The link cannot be added.

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

Community Additions

ADD
Show:
© 2014 Microsoft