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

Adds a pending friend. Sends the other user a friend invitation. 

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 = "AddPendingFriend", Description = "Adds a pending friend. Sends the other user a friend invitation.")]
public void AddPendingFriend(long friendUserId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddPendingFriend", Description = "Adds a pending friend. Sends the other user a friend invitation.")>
Public Function AddPendingFriend(friendUserId As long, userId As long) As void
Parameters 
Description 
friendUserId 
The user receiving a friend request. 
userId 
The user sending a friend request. 
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!