You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Friends Class > Friends Methods > AddSelectedFriend
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Friends.AddSelectedFriend Method

Adds a friend to a user's selected friends list. 

This method can be accessed through the Friends.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/Friends.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AddSelectedFriend", Description = "Adds a friend to a user's selected friends list.")]
public void AddSelectedFriend(long selectedFriendUserId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddSelectedFriend", Description = "Adds a friend to a user's selected friends list.")>
Public Function AddSelectedFriend(selectedFriendUserId As long, userId As long) As void
Parameters 
Description 
selectedFriendUserId 
The ID of the friend to be added to the selected list. 
userId 
The ID of the user adding the selected friend. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!