Skip to main content
Solved

FME_LOGGEDIN_USER parameter Capture

  • January 24, 2023
  • 4 replies
  • 40 views

Forum|alt.badge.img+1

Hi

 

We are currently on FME Server 2021.2.2. There's a need to capture the login user ID for a server app and then insert into our database for logging purpose:

imageBelieve that's the FME_LOGGEDIN_USER parameter. Please advise whether it is possible to do so. Thanks.

Best answer by redgeographics

It's FME_SECURITY_USER, and yeah, you can capture that into an attribute with an AttributeCreator and then write it to a database.

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.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • Best Answer
  • January 24, 2023

It's FME_SECURITY_USER, and yeah, you can capture that into an attribute with an AttributeCreator and then write it to a database.


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 627 replies
  • January 24, 2023

I have also used 'FME_SERVER_RUNTIME_USER' in the past for getting the logged in user.


Forum|alt.badge.img+1
  • Author
  • 20 replies
  • January 24, 2023

It's FME_SECURITY_USER, and yeah, you can capture that into an attribute with an AttributeCreator and then write it to a database.

Thanks @Hans van der Maarel​ . That makes sense. Is FME_SECURITY_USER available in FME Server version 2021.2.2 or we need to upgrade to latest version? Also where can i locate FME_SECURITY_USER?


Forum|alt.badge.img+1
  • Author
  • 20 replies
  • January 24, 2023

It's FME_SECURITY_USER, and yeah, you can capture that into an attribute with an AttributeCreator and then write it to a database.

NVM found it:

security usere 

Thanks!