🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Macro for Logged in User

User: "JEdward"
New Altair Community Member
Updated by Jocelyn
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. 

Find more posts tagged with