Setup a New Perforce User
- Log onto DevBox as an administrative user
- Create your new user:
p4 user -f username- Add username to appropriate groups. Run p4 groups to get a list of existing groups. Run p4 group groupname to add username to a specific group.
One way to loop through all the groups at once, adding username where appropriate:
for i in `p4 groups` do p4 group $i done- On the user's PC, load the Perforce client.
- Run P4Win and sync with the Depots.
If you get a message saying "You don't have permission for this operation", change the client user by going into:
Settings | Switch Port Client User
![]()