7#include <UserEvent.idl>
vector< RoleAccount > getAllRoles()
Retrieve a list of active roles.
constant int ERR_ROLE_DOESNT_EXIST
The role does not exist.
constant int ERR_ROLE_NOT_DELETABLE
The role cannot be deleted.
constant int ERR_MAX_ROLES_REACHED
Maximum number of roles reached.
vector< string > getAllRoleNames()
Retrieve a list of role names.
Info getInfo()
Retrieve full role manager information.
constant int ERR_ROLE_ALREADY_EXISTS
A role with that name already exists.
constant int ERR_INVALID_VALUE
Invalid arguments.
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.