User interface
More...
import"User.idl";
Gets the user capabilities.
- Returns
- capabilities
UserInfo usermgmt::User_1_0_2::getInfo |
( |
| ) |
|
Get user information.
- Returns
- User information
Get information and a list of granted privileges for a user.
- Parameters
-
info | User information |
privileges | List of granted privileges |
int usermgmt::User_1_0_2::setAccountPassword |
( |
in string |
password | ) |
|
Set the account password.
- Parameters
-
- Returns
- 0 OK
-
1 The new password has to differ from old password.
-
2 The password must not be empty.
-
3 The password is too short.
-
4 The password is too long.
-
5 The password must not contain control characters.
-
6 The password has to contain at least one lower case character.
-
7 The password has to contain at least one upper case character.
-
8 The password has to contain at least one numeric character.
-
9 The password has to contain at least one printable special character.
-
10 The password already is in history.
-
11 SNMPv3 USM is activated for the user and the password shall be used as auth passphrase. For this case, the password is too short (must be at least 8 characters).
int usermgmt::User_1_0_2::setPreferences |
( |
in Preferences |
prefs | ) |
|
Sets the user preferences.
- Parameters
-
- Returns
- 0 OK
-
ERR_INVALID_ARGUMENT An argument is invalid or out of range
int usermgmt::User_1_0_2::updateAccountFull |
( |
in string |
password, |
|
|
in UserInfo |
info |
|
) |
| |
Update user information.
- Parameters
-
password | The new password; empty to leave unchanged |
info | The new user information |
- Returns
- 0 OK
-
1 The new password has to differ from old password.
-
3 The password is too short.
-
4 The password is too long.
-
5 The password must not contain control characters.
-
6 The password has to contain at least one lower case character.
-
7 The password has to contain at least one upper case character.
-
8 The password has to contain at least one numeric character.
-
9 The password has to contain at least one printable special character.
-
10 The password already is in history.
-
11 SNMPv3 USM is activated for the user and the password shall be used as auth passphrase. For this case, the password is too short (must be at least 8 characters).
-
12 An argument is invalid or out of range
-
13 The password passed in as SNMPv3 authentication pass phrase was wrong.
-
14 The ssh public key data is too large.
-
15 The ssh public key is invalid.
-
16 The ssh public key is not supported.
-
17 The ssh RSA public key is too short.
The documentation for this interface was generated from the following file: