7 #include <UserEvent.idl>
68 constant
int ERR_USER_DOESNT_EXIST = 1;
69 constant
int ERR_USER_NOT_DELETABLE = 2;
71 constant
int ERR_USER_ALREADY_EXISTS = 1;
72 constant
int ERR_MAX_USERS_REACHED = 2;
73 constant
int ERR_PASSWORD_TOO_SHORT_FOR_SNMP = 3;
74 constant
int ERR_INVALID_VALUE = 4;
75 constant
int ERR_PASSWORD_EMPTY = 5;
76 constant
int ERR_PASSWORD_TOO_SHORT = 6;
77 constant
int ERR_PASSWORD_TOO_LONG = 7;
78 constant
int ERR_PASSWORD_CTRL_CHARS = 8;
79 constant
int ERR_PASSWORD_NEED_LOWER = 9;
80 constant
int ERR_PASSWORD_NEED_UPPER = 10;
81 constant
int ERR_PASSWORD_NEED_NUMERIC = 11;
82 constant
int ERR_PASSWORD_NEED_SPECIAL = 12;
83 constant
int ERR_SSH_PUBKEY_DATA_TOO_LARGE = 14;
84 constant
int ERR_SSH_PUBKEY_INVALID = 15;
85 constant
int ERR_SSH_PUBKEY_NOT_SUPPORTED = 16;
86 constant
int ERR_SSH_RSA_PUBKEY_TOO_SHORT = 17;
87 constant
int ERR_USERNAME_INVALID = 18;
88 constant
int ERR_NEW_USER_ALREADY_EXISTS = 19;
User manager interface
Definition: UserManager.idl:66
vector< Account > getAllAccounts()
Get information about all available user accounts.
int createAccount(in string username, in string password)
Create a new account.
int setDefaultPreferences(in Preferences prefs)
Set default user preferences.
int renameAccount(in string username, in string newUsername)
Rename an account.
int createAccountFull(in string username, in string password, in UserInfo info)
Create a new account with defined settings.
Preferences getDefaultPreferences()
Get default user preferences.
vector< Account > getAccountsByRole(in string roleName)
Get a list of accounts that have a given role.
vector< string > getAccountNames()
Get a list of account names available on the system.
int deleteAccount(in string username)
Deletes an account.
User Management
Definition: Role.idl:12
This event is emitted after a new account with the provided username was added.
Definition: UserManager.idl:32
This event is emitted if the settings of an account as defined in usermgmt::UserInfo have changed (No...
Definition: UserManager.idl:59
Base type of all account event.
Definition: UserManager.idl:24
string username
name of user which was affected
Definition: UserManager.idl:25
This event is emitted after the account with the provided username has been removed.
Definition: UserManager.idl:45
This event is emitted after an account has been renamed.
Definition: UserManager.idl:37
string newUsername
new user name
Definition: UserManager.idl:38
Account information
Definition: UserManager.idl:15
string name
Account name
Definition: UserManager.idl:16
UserInfo info
User information
Definition: UserManager.idl:17
This event is emitted after the password for an account was changed.
Definition: UserManager.idl:51
User preferences
Definition: User.idl:80
User information
Definition: User.idl:87