Export (0) Print
Expand All

UserProfileService.AddLink method

Adds a quick link for the specified account name.

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

[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/AddLink", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public QuickLinkData AddLink(
	string accountName,
	string name,
	string url,
	string group,
	Privacy privacy
)

Parameters

accountName
Type: System.String

The account name of the user to add a link to.

name
Type: System.String

The name for the link.

url
Type: System.String

The URL of the link.

group
Type: System.String

The name of the group for the link.

privacy
Type: WebSvcUserProfileService.Privacy

The privacy policy level of the link.

Return value

Type: WebSvcUserProfileService.QuickLinkData
The newly added link.

ExceptionCondition
SoapException

The link cannot be added.

This method creates a new quick link with the specified information for the user specified by the accountName parameter, and returns the information about the newly added link.

Community Additions

ADD
Show:
© 2014 Microsoft