> pi user add -h
Usage: pi user add [-h] [--template TEMPLATE | identifier]
Description: Create a new User. The command puts the User specification into a
temporary file and invokes the editor specified by the EDITOR environment
variable. Saving the file adds the User.
Positional arguments:
identifier The name of the User being created.
Optional arguments:
--template TEMPLATE, -t TEMPLATE
Use the specified template to add the User. The
template is an ASCII file that defines the User. This
can be used to add Users with a script and avoid the
interactive editor. To read the template from STDIN,
set TEMPLATE='-'.
-h, --help Show this help message and exit
Examples:
# Invoke the editor to create User john.
pi user add john
# Create User using the john.info template.
pi user add -t john.info
# Create User using redirected STDOUT from script new_user.py as template.
new_user.py | pi user add --template -
More information and documentation available at:
https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.