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

Checks if a content item is in a user's favorites. 

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 = "IsContentFavorite", Description = "Checks if a content item is in a user's favorites.")]
public bool IsContentFavorite(long contentId, long userId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "IsContentFavorite", Description = "Checks if a content item is in a user's favorites.")>
Public Function IsContentFavorite(contentId As long, userId As long) As bool
Parameters 
Description 
contentId 
ID of the content item. 
userId 
ID of the user. 

True if the content item is in user's favorites, else false.

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!