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

Returns a list of the user's favorites in a directory. 

This method can be accessed through the Favorites.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/Favorites.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetContentFavorites for directory with paging info", Description = "Returns a list of the user's favorites in a directory.")]
public DirectoryContentData[] GetContentFavorites(long userId, long directoryId, PagingInfo pagingInfo);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetContentFavorites for directory with paging info", Description = "Returns a list of the user's favorites in a directory.")>
Public Function GetContentFavorites(userId As long, directoryId As long, pagingInfo As PagingInfo) As DirectoryContentData()
Parameters 
Description 
directoryId 
ID of directory to retrieve favorites from. 
pagingInfo 
Paging information for limiting the resultset. 
userID 
ID of user to retrieve favorites for. 

An array of DirectoryContentData objects.

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!