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)

Adds a user to another user's colleague list.

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