How do I get retool user_name of the user doing the data entry?

I’m hoping to automatically populate and upload the user name when someone is editing/uploading to database. Can you let me know if user name is available as a dynamic field, and if so, how I get that information?

1 Like

I am sort of wondering the same thing. Somehow it would have to be possible to connect the retool user to the data source user. I guess it would have to depend on each integration. Can you advise on best practice for this matter?

Retool has a global variable called current_user - it’s an object with info about the current authenticated user. In terms of resources, we don’t quite support dynamic DB users yet, but it’s something we’re thinking about :slight_smile: