7#include <UserEvent.idl>
63 constant
int ERR_USER_DOESNT_EXIST = 1;
64 constant
int ERR_USER_NOT_DELETABLE = 2;
66 constant
int ERR_USER_ALREADY_EXISTS = 1;
67 constant
int ERR_MAX_USERS_REACHED = 2;
68 constant
int ERR_PASSWORD_TOO_SHORT_FOR_SNMP = 3;
69 constant
int ERR_INVALID_VALUE = 4;
70 constant
int ERR_PASSWORD_EMPTY = 5;
71 constant
int ERR_PASSWORD_TOO_SHORT = 6;
72 constant
int ERR_PASSWORD_TOO_LONG = 7;
73 constant
int ERR_PASSWORD_CTRL_CHARS = 8;
74 constant
int ERR_PASSWORD_NEED_LOWER = 9;
75 constant
int ERR_PASSWORD_NEED_UPPER = 10;
76 constant
int ERR_PASSWORD_NEED_NUMERIC = 11;
77 constant
int ERR_PASSWORD_NEED_SPECIAL = 12;
78 constant
int ERR_SSH_PUBKEY_DATA_TOO_LARGE = 14;
79 constant
int ERR_SSH_PUBKEY_INVALID = 15;
80 constant
int ERR_SSH_PUBKEY_NOT_SUPPORTED = 16;
81 constant
int ERR_SSH_RSA_PUBKEY_TOO_SHORT = 17;
82 constant
int ERR_USERNAME_INVALID = 18;
83 constant
int ERR_NEW_USER_ALREADY_EXISTS = 19;
int createAccount(in string username, in string password)
Create a new account.
vector< Account > getAccountsByRole(in string roleName)
Get a list of accounts that have a given role.
vector< Account > getAllAccounts()
Get information about all available user accounts.
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.
vector< string > getAccountNames()
Get a list of account names available on the system.
Preferences getDefaultPreferences()
Get default user preferences.
int deleteAccount(in string username)
Deletes an account.
This event is emitted after a new account with the provided username was added.
This event is emitted if the settings of an account as defined in usermgmt::UserInfo have changed.
Base type of all account event.
string username
name of user which was affected
This event is emitted after the account with the provided username has been removed.
This event is emitted after an account has been renamed.
string newUsername
new user name
UserInfo info
User information
This event is emitted after the password for an account was changed.