Skip to main content
Released

Get the username that logged in to run a Server App


dms2
Contributor
  • Contributor

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 a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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
  • November 5, 2020

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


sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • 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

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
  • December 9, 2021

Nice.

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


dbaldacchino1
Enthusiast
Forum|alt.badge.img+13

@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+13

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings