Perforce 2005.1 Command Reference
<< Previous Chapter
P4TICKETS
Table of Contents
Index
Perforce on the Web
Next Chapter >>
PWD

P4USER

Description

Current Perforce username.

Usage Notes

Used by
Client?

Used by
Server?

Command-Line Alternative
Can be set in P4CONFIG file?

Yes

No

p4 -u username command

Yes

Value if not Explicitly Set

Operating System
Value

Windows

The value of the USERNAME environment variable.

All Others

The value of the USER environment variable.

Examples

edk

lisag

Notes

By default, the Perforce username is the same as the OS username.

If a particular Perforce user does not have a password set, then any other Perforce user can impersonate this user by using the -u flag with their Perforce client commands. To prevent this, users should set their password with the p4 user or p4 passwd command.

If a user has set their Perforce password, you can still run commands as that user (if you know the password) with p4 -u username -P password command.

Perforce superusers can impersonate users without knowing their passwords. For more information, see the Perforce System Administrator's Guide.


Perforce 2005.1 Command Reference
<< Previous Chapter
P4TICKETS
Table of Contents
Index
Perforce on the Web
Next Chapter >>
PWD
Please send comments and questions about this manual to [email protected].
Copyright 1999-2005 Perforce Software. All rights reserved.
Last updated: 05/12/05