Skip to content
README.md 883 B
Newer Older
bmajor's avatar
bmajor committed
# cadcAccessControl-Admin

This module provides a command line tool for managing users.  It uses the persistence layer code (rather than the web service) for the various functions.

## Usage

```
Usage: userAdmin <command> [-v|--verbose|-d|--debug] [-h|--help]
Where command is:

bmajor's avatar
bmajor committed
--list                       : List approved users
--list-pending               : List users waiting for approval
bmajor's avatar
bmajor committed
--view=<userid>              : Print the entire details of <user> (pending or not)
--approve=<userid> --dn=<dn> : Approve user with userid=<userid> and set the
                             : distinguished name to <dn>
--reject=<userid>            : Delete this user request

-v|--verbose                 : Verbose mode print progress and error messages
-d|--debug                   : Debug mode print all the logging messages
-h|--help                    : Print this message and exit
```