Removes a StorMan user from the StorMan user administration. All StorMan roles to the StorMan user are removed too. This command is restricted to the administrator i.e. StorMan users disposing of the role StorAdmin
.
Syntax
|
Parameters
–name user
Specifies the StorMan user to be removed from StorMan.
Removing the last StorMan user with StorMan role StorAdmin
is inhibited as long as there is still any other user in StorMan administration.
After removing the last user storadmin
the complete StorMan functions are available again for all connecting StorMan servers. No more authorization checks are done.
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. |
36 |
| User / password for StorMan not valid |