getNextRoleForCurrentUserAgent

Description

Returns next role of the current user agent from the list of roles loaded by getCountOfRolesForUserAgent.

Syntax

public String getNextRoleForCurrentUserAgent() throws RemoteException, SearchException

Return value

Returns the valid role name if successful; null if failure.