You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Community Namespace > Classes > Friends Class > Friends Methods > AddFriend Method > AddFriend
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Friends.AddFriend Method (Long, Long, Long)

Adds a user to another user's friends list in a specific sub directory.

C#
public AddFriend(Long friendUserId, Long userId, Long directoryId);
Visual Basic
Public Sub AddFriend(ByVal friendUserId As Long, ByVal userId As Long, ByVal directoryId As Long)
Parameters 
Description 
friendUserId 
The ID of the user to be added to the user's colleague list. 
userId 
The ID of the user adding the colleague. 
directoryId 
The ID of the directory where the new colleague will be added. 
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!