addRoleForChannel

Description

Associates a role with a channel.

Syntax

public int addRoleForChannel(String user,
	String channel,
	String role) throws RemoteException, SearchException

Parameters

user – user name

channel – channel name

role – associated role name

Return value

Returns a status of: 0 if failure; otherwise, successful.