In calls to SPGetPromptFilesDirectory chUserID parameter is checked and only seems to work for the value "Default". Where can I look to get a list of valid values for this parameter?
It may be helpful to add (via SPAdmin) a user ID that you use for API calls. For example...add a user called "APIUser". In the above scenario, the ProForm user would be able to tell that the order is open by the API application. The warning they would receive would say something like "The file can only be opened read only because it is currently opened by APIUser"
As far as SPGetPromptFilesDirectory...the user ID is used to get the prompts directory for that user. This is part of the SPAdmin setting for that user. Normally the prompts directory is the same for all users, but sometimes this is used to give a user a set of custom prompts.
Again...you may want to set up the APIUser in SPAdmin and set it up however it makes sense...and then pass in this user ID for all API calls.
SoftPro Software Engineer