Helix Server settings on the user’s machine

To determine which server and depot are accessed and how files are mapped, the standard classes in the API observe the Helix Server settings on the user’s machine. Assuming the workstation is configured correctly, your application does not need to provide logic that specifies server, port, workspace, or user.

To override the user’s settings, your application can call Set methods.

Settings take precedence as follows, highest to lowest:

  1. Values set within a Helix Server application
  2. Values in configuration files (P4CONFIG)
  3. Values set as environment variables at the operating system prompt
  4. Variables residing in the registry (set using the p4 set or p4 set -s commands on Windows client machines)
  5. Default values defined by Helix Server or gathered from the system