So I have built a basic server app that allows users to log in and run a workspace. Using the 'Require Authentication' option in the app. Created a user account and user is able to execute process.
But I'm having trouble capturing the user name as part of the routine to write to a history table. In my Desktop workbench, I'm using a Published Parameter defaulting to:
$(FME_SECURITY_USER)
In the Server workspace, I'm not showing that particular parameter so that it can't be changed to something else. When I run it myself while logged in as 'admin', that's what gets logged. But when I have user "johnsmith" running it as, it logs NULL. Am I missing something else?
Also is there any way to leverage AD Authentication if you don't want to set up a bunch of users and require them to log in to run the app?
Thanks.