You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Community Namespace > Classes > Favorites Class > Favorites Methods > AddFavoriteLink
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Favorites.AddFavoriteLink Method

Adds a URI to a specified user's favorites.

C#
public Long AddFavoriteLink(Long userId, Long directoryId, int directoryLanguage, String uriName, String Uri, String uriDescription);
Visual Basic
Public Function AddFavoriteLink(ByVal userId As Long, ByVal directoryId As Long, ByVal directoryLanguage As Integer, ByVal uriName As String, ByVal Uri As String, ByVal uriDescription As String) As Long
Parameters 
Description 
userId 
The ID of the user. 
directoryId 
A taxonomy ID. 
directoryLanguage 
A taxonomy language (for a user, this will be 0 - language neutral). 
uriName 
The name identification for the URI. 
Uri 
The actual URI. 
uriDescription 
A description of the URI. 

The newly created favorite ID as a Long.

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!