Skip to main content

For usage statistics or communication purposes, it would be really useful to get the user who runs the App without having to ask for it (via a published parameter).

The FME_SECURITY_USER parameter returns the App owner so a (e.g.) FME_LOGGEDIN_USER parameter could serve to return the logged in user.

Hi,in my opinion this should be treated as a bug.


This should be prioritized. When Server app and Gallery apps gets used by a lot of people within the organization and the default user interface towards FME Server it is vital to keep track of which user runs which workspace when debugging and giving support.


This feature is available in FME Server 2022.0 Betas. There are two new FME Server Parameters available from FME Workbench:

  • FME_SERVER_RUNTIME_USER: Name of the user who authenticated the FME Server workspace app to run the workspace.
  • FME_SERVER_RUNTIME_ID: The UUID of the user who authenticated the FME Server workspace app to run the workspace.

In addition, a new field 'Ran By' has been added to the Jobs Completed/Queued/Running pages so that this information is visible from the Web UI.

REST API V4 is also in progress, and the parameters 'runtimeUserName' and 'runtimeUserID' will be returned for the Jobs endpoints in this version.

If you try it out we welcome any feedback, particularly on the naming of these parameters.


Nice.

Will ?this feature be available in the next version of fmecloud, mid January 2022?


@hollyatsafe so FME_SERVER_RUNTIME_USER will be the full username? For example if we add users directly from Active Directory, we would want to get the domain username in that parameter.


Just to close this comment out...for AD accounts, the runtime user returns the "CN" field (or Object Name).