7#include <UserEvent.idl> 
   34        constant 
int ERR_ROLE_ALREADY_EXISTS = 1; 
 
   35        constant 
int ERR_MAX_ROLES_REACHED   = 2; 
 
   36        constant 
int ERR_INVALID_VALUE       = 3; 
 
   38        constant 
int ERR_ROLE_DOESNT_EXIST   = 1; 
 
   39        constant 
int ERR_ROLE_NOT_DELETABLE  = 2; 
 
 
vector< RoleAccount > getAllRoles()
Retrieve a list of active roles.
vector< string > getAllRoleNames()
Retrieve a list of role names.
Info getInfo()
Retrieve full role manager information.
int createRoleFull(in string name, in Role::Info info)
Create new role with full information.
int deleteRole(in string name)
Delete a role.
vector< PrivilegeDesc > getAllPrivileges()
Retrieve a list of supported privileges.
Role management interface
Base type of all account event.
Privilege Argument Description.
string name
Argument name.
string desc
Argument description.
Full role manager information.
vector< RoleAccount > roles
List of active roles.
vector< PrivilegeDesc > privileges
List of supported privileges.
vector< ArgumentDesc > args
List of supported arguments.
string name
Privilege name.
string desc
Privilege description.
Role::Info info
Role information.