com.accendia.iris.admin.interfaces
Interface IRoles


public interface IRoles

The interface is implemented by the roles command and provides the client application with information about the available roles and the roles assigned to the current user.


Method Summary
 java.lang.String[] getGrants(java.lang.String applicationName)
          Returns the roles assigned to the current user for the specified application
 java.lang.String[] getRoles(java.lang.String applicationName)
          Returns the roles defined by the specified application.
 

Method Detail

getGrants

java.lang.String[] getGrants(java.lang.String applicationName)
                             throws InvocationException
Returns the roles assigned to the current user for the specified application

Parameters:
applicationName - The name of the application.
Returns:
Returns the roles assigned to the current user.
Throws:
InvocationException - When a remote error occurs.

getRoles

java.lang.String[] getRoles(java.lang.String applicationName)
                            throws InvocationException
Returns the roles defined by the specified application.

Parameters:
applicationName - The application name
Returns:
The application roles.
Throws:
InvocationException - When a remote error occurs.