Perforce Command Reference:   [Index]  [Prev] [Next]


p4 group

Synopsis

Add/delete users from a group

Syntax

p4 [g_opts] group name
p4 [g_opts] group -o name
p4 [g_opts] group -i [name]

Description

Create a new group or add/delete users from an existing group. The group specification form is put into a temporary file and the editor (given by the environment variable $EDITOR) is invoked.

A group exists when it has any users in it, and ceases to exist if all users in it are removed.

The -o flag causes the named group specification to be written to the standard output. The user's editor is not invoked.

The -i flag causes a group specification to be read from the standard input. The user's editor is not invoked. The new group specification entirely replaces the previous.

Groups are used only by the 'p4 protect' command to establish access levels for groups of users.

'p4 group' requires superuser access granted by 'p4 protect'.



Perforce Command Reference:   [Index]  [Prev] [Next]


Copyright 1998 Perforce Software.
Contact us at [email protected]
Last updated: 06/14/98