Modifies the attributes and authorization of a user already contained in the StorMan repository.
This command is restricted to the administrator i.e. StorMan users disposing of the role StorAdmin. Only the function to change the user’s own password is supported for every StorMan user.
If a parameter is not specified, the corresponding attribute is not changed.
Syntax
|
Parameters
–name user
Specifies the StorMan user to be modified.
–passwd passwd
Specifies the password of the StorMan user to be modified. On M2000 no password is specified for the StorMan user.
–newpasswd newpasswd
Specifies a new password for the specified StorMan user.
–newrole role
Specify a new role for the StorMan user (StorAdmin
or Info
). Any eventually existing StorMan role is replaced by the new one.
StorMan role StorAdmin
cannot be replaced if there is only one StorMan user with this role.
Return codes
Error Code | Name | Error Type |
0 |
| Function successful. |
3 |
| Version not supported. |
7 |
| Specified parameters invalid. |
13 |
| Error in StorMan communication between client and server |
16 |
| Unexpected error in function. |
18 |
| Specified host could not be found. |
20 |
| Object already exists in repository |
36 |
| User / password for StorMan not valid |