You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Friends Class > Friends Methods > GetFriends Method > GetFriends
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Friends.GetFriends Method (long, PagingInfo)

Returns a list of friends for a user. 

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 = "GetFriends with paging info", Description = "Returns a list of friends for a user.")]
public DirectoryUserData[] GetFriends(long userId, PagingInfo pagingInfo);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetFriends with paging info", Description = "Returns a list of friends for a user.")>
Public Function GetFriends(userId As long, pagingInfo As PagingInfo) As DirectoryUserData()
Parameters 
Description 
userId 
ID of user to retrieve friends for. 
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!