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