Counts number of roles of an agent. Resets to the beginning of the list of roles for agents so getNextRoleForCurrentUserAgent can be used to iterate through the list of roles for the current user agent.
public int getCountOfRolesForUserAgent(String user, String agent) throws RemoteException, SearchException
user – name of a user
agent – name of agent
Returns the number of roles; 0 if failure, otherwise, successful.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |