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

Gets a list of users that have sent another user friend invitations. This only returns users who's invitations have not yet been accepted and are still pending.  

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 = "GetPendingFriends", Description = "Gets a list of users that have sent another user friend invitations. This only returns users who's invitations have not yet been accepted and are still pending.")]
public DirectoryUserData[] GetPendingFriends(long userId, PagingInfo pagingInfo);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetPendingFriends", Description = "Gets a list of users that have sent another user friend invitations. This only returns users who's invitations have not yet been accepted and are still pending.")>
Public Function GetPendingFriends(userId As long, pagingInfo As PagingInfo) As DirectoryUserData()
Parameters 
Description 
userId 
ID of user who has received invitations. 
pagingInfo 
Supply paging information to control retrieval. 

An array of DirectoryUserData.

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!