The
exists
tool allows to check whether a user exists in a given context.
It uses either the id or the username of the user
| -h,--help | Prints a help text |
| --environment | Show info about commandline environment |
| --nonl | Remove all newlines (\n) from output |
| -c,--contextid <integer> | The id of the context |
| -i,--userid <integer> | Id of the user |
| -u,--username <string> | Username of the user |
On success:
user <userid or username> exists
On failure:
user <userid or username> does not exist>