Associates a role with a user agent.
public int addRoleForUserAgent(String user, String agent, String role) throws RemoteException, SearchException
user – user name
agent – agent name
role – associated role name
Returns a status of: 0 if failure; otherwise, successful.