7#include <UserEvent.idl>
constant int ERR_NEW_USER_ALREADY_EXISTS
A user with the new (renamed) user name already exists.
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.
constant int ERR_PASSWORD_TOO_SHORT
The password is too short.
constant int ERR_USER_NOT_DELETABLE
The user is not deletable.
constant int ERR_SSH_RSA_PUBKEY_TOO_SHORT
The ssh RSA public key is too short.
constant int ERR_USERNAME_INVALID
The user name contains one or more invalid character(s).
vector< Account > getAllAccounts()
Get information about all available user accounts.
constant int ERR_SSH_PUBKEY_DATA_TOO_LARGE
The ssh public key data is too large.
int setDefaultPreferences(in Preferences prefs)
Set default user preferences.
constant int ERR_PASSWORD_TOO_LONG
The password is too long.
constant int ERR_PASSWORD_CTRL_CHARS
The password must not contain control characters.
int renameAccount(in string username, in string newUsername)
Rename an account.
constant int ERR_USER_ALREADY_EXISTS
A user with the given name already exists.
constant int ERR_MAX_USERS_REACHED
Maximum number of users reached.
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.
constant int ERR_PASSWORD_NEED_LOWER
The password must contain at least one lower-case character.
Preferences getDefaultPreferences()
Get default user preferences.
constant int ERR_INVALID_VALUE
Invalid arguments.
constant int ERR_PASSWORD_NEED_NUMERIC
The password must contain at least one numeric character.
constant int ERR_PASSWORD_NEED_SPECIAL
The password must contain at least one special character.
constant int ERR_PASSWORD_NEED_UPPER
The password must contain at least one upper-case character.
constant int ERR_USER_DOESNT_EXIST
A user with the given name does not exist.
constant int ERR_PASSWORD_TOO_SHORT_FOR_SNMP
The password is too short to be used as SNMPv3 passphrase.
constant int ERR_SSH_PUBKEY_NOT_SUPPORTED
The ssh public key is not supported.
constant int ERR_PASSWORD_EMPTY
The password must not be empty.
int deleteAccount(in string username)
Deletes an account.
constant int ERR_SSH_PUBKEY_INVALID
The ssh public key is invalid.
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.