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, long)

Returns a user's list of friends in a specific subdirectory. 

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 for directory", Description = "Returns a user's list of friends in a specific subdirectory.")]
public DirectoryUserData[] GetFriends(long userId, PagingInfo pagingInfo, long directoryID);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetFriends with paging info for directory", Description = "Returns a user's list of friends in a specific subdirectory.")>
Public Function GetFriends(userId As long, pagingInfo As PagingInfo, directoryID As long) As DirectoryUserData()
Parameters 
Description 
userId 
The ID of a user to retrieve friends for. 
pagingInfo 
Supply paging information to control retrieval. 
directoryID 
The ID of directory to retrieve friends from. 

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!