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

Accepts a friend request from one user to another. 

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 = "AcceptPendingFriend", Description = "Accepts a friend request from one user to another.")]
public void AcceptPendingFriend(long fromUserId, long toUserId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AcceptPendingFriend", Description = "Accepts a friend request from one user to another.")>
Public Function AcceptPendingFriend(fromUserId As long, toUserId As long) As void
Parameters 
Description 
fromUserId 
ID of user who sent friend request. 
toUserId 
ID of user who received friend request and is accepting it. 
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!