Skip to main content
Released

Get the username that logged in to run a Server App

Related products:FME Flow
  • October 30, 2020
  • 6 replies
  • 59 views

dms2
Contributor
  • Contributor
  • 48 replies

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

bjarne
Contributor
Forum|alt.badge.img+5
  • Contributor
  • 34 replies
  • November 5, 2020

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


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • 956 replies
  • November 6, 2020

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.


Forum|alt.badge.img+2
  • 719 replies
  • December 9, 2021

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.


bjarne
Contributor
Forum|alt.badge.img+5
  • Contributor
  • 34 replies
  • December 9, 2021

Nice.

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


dbaldacchino1
Enthusiast
Forum|alt.badge.img+14
  • Enthusiast
  • 136 replies
  • January 8, 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.


dbaldacchino1
Enthusiast
Forum|alt.badge.img+14
  • Enthusiast
  • 136 replies
  • January 10, 2023

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