[Migrated content. Thread originally posted on 20 March 2007]
Hi,It seems in AcuConnect 5.x we could set an Environment variable of USERNAME to set the passed username to the server.
It seems in AcuConnect 7.x this isn't an option.
From the AcuConnect 5.1 doco:
4.2.5 Setting up the User Name
For Windows clients, the runtime uses the user name value that is set by the environment variable USERNAME. If USERNAME is not set, then the runtime uses the value that is set by the environment variable USER. (The values assigned to these variables are case-sensitive. Be sure that the case used in the "AcuAccess" file matches the case of the value set in the variable.) If neither of these environment variables is set, then the runtime uses the name "USER".
Under UNIX, the runtime uses the user name that the user logged in with.
I've read through the 7.2 doco and there doesn't appear to be anything mentioned about doing this.
Our software still sets USERNAME (actually it sets USERNAME, USER and DEFAULT_USER on the client just to make sure) but it always attempts to use the current Windows username to connect with AcuConnect.
I know there is an option on the server config file to use a "DEFAULT_USER" but that then sets all connections to the one user which makes it difficult to administer.
Any help appreciated.
Thanks,
Ray Smith
EDIT: (21/3/07) I have also sent this off to Acu Support. Will update this thread on any feedback from them.



