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;
Role manager interface.
Definition: RoleManager.idl:32
vector< string > getAllRoleNames()
Retrieve a list of role names.
vector< RoleAccount > getAllRoles()
Retrieve a list of active roles.
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
Definition: Role.idl:15
User Management
Definition: Role.idl:12
Definition: RoleManager.idl:22
Definition: RoleManager.idl:26
Base type of all account event.
Definition: RoleManager.idl:18
Privilege Argument Description.
Definition: RoleManager.idl:42
string name
Argument name.
Definition: RoleManager.idl:43
string desc
Argument description.
Definition: RoleManager.idl:44
Full role manager information.
Definition: RoleManager.idl:62
vector< RoleAccount > roles
List of active roles.
Definition: RoleManager.idl:64
vector< PrivilegeDesc > privileges
List of supported privileges.
Definition: RoleManager.idl:63
Privilege Description.
Definition: RoleManager.idl:48
vector< ArgumentDesc > args
List of supported arguments.
Definition: RoleManager.idl:51
string name
Privilege name.
Definition: RoleManager.idl:49
string desc
Privilege description.
Definition: RoleManager.idl:50
Role information.
Definition: RoleManager.idl:55
Role::Info info
Role information.
Definition: RoleManager.idl:58
string name
Role name.
Definition: RoleManager.idl:57
int id
Unique role id.
Definition: RoleManager.idl:56
Definition: RoleManager.idl:24
Role information
Definition: Role.idl:26