User interface
More...
import"User.idl";
Gets the user capabilities.
- Returns
- capabilities
UserInfo usermgmt::User_1_0_1::getInfo |
( |
| ) |
|
Get user information.
- Returns
- User information
void usermgmt::User_1_0_1::getInfoAndPrivileges |
( |
out UserInfo |
info, |
|
|
out vector< Role.Privilege > |
privileges |
|
) |
| |
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_1::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_1::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_1::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
The documentation for this interface was generated from the following file: