addRoleForUserAgent

Description

Associates a role with a user agent.

Syntax

public int addRoleForUserAgent(String user,
String agent,
String role) throws RemoteException, SearchException

Parameters

user – user name

agent – agent name

role – associated role name

Return value

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