Setup a New Perforce User


  1. Log onto DevBox as an administrative user

  2. Create your new user:

    p4 user -f username

  3. 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
    

  4. On the user's PC, load the Perforce client.

  5. 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


     

    Home