delete-user
Deletes an internal user.
Syntax:
shell
sfiler-admin [options] delete-user [command options]| Command options | Required/Optional | Description |
|---|---|---|
| -d | Optional | The ID of the domain of the user to delete. Default: 1 |
| -n | Required | The name of the user. |
| -f | Optional | Forces the deletion of the user and of all the shares they own. This option takes no value. Without it, the command fails if the user owns shares. |
Example:
shell
sfiler-admin.sh -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ delete-user -n "my-user"shell
sfiler-admin.exe -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ delete-user -n "my-user"