The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Macro for Logged in User
JEdward
RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 578 Unicorn
Hi guys,
I want to set a macro based on the currently logged in username.
For example if I'm wanting to run a process that loops through the repository of that specific user how would I get the value of that logged in user to use in the process?
Another option might be if I have a database connection which changes based on the logged in user so that there is an audit trail of any queries or changes that user has made in the SQL logs.
I'm sure it's just something like %{user}, but could do with confirming.
I want to set a macro based on the currently logged in username.
For example if I'm wanting to run a process that loops through the repository of that specific user how would I get the value of that logged in user to use in the process?
Another option might be if I have a database connection which changes based on the logged in user so that there is an audit trail of any queries or changes that user has made in the SQL logs.
I'm sure it's just something like %{user}, but could do with confirming.
0
Answers
the macro is called "_ra_user". Regards,
Marco
My newest evil plan is to combine this with Single Sign On integration to customize entire analytic web apps based on the logged in user.
Using this I'll easily be able to build apps that can be customized even down to the data, imagery & CSS of the app. Cheers!