Retrieve username from within BR

fc
New Contributor III

Hi all,

I'm working on a Business rule that will be triggered as soon as a user clicks on a button within a dashboard.
Is there a way to retrieve the Username of the user that clicks on the button?

 

Thanks in ad

1 ACCEPTED SOLUTION

NicolasArgente
Valued Contributor

Hi @fc

You should try that : 

'Get current user name
Dim userName As String = si.AuthToken.UserName

If it helps, please provide a kuddo!
Thanks

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.

View solution in original post

1 REPLY 1

NicolasArgente
Valued Contributor

Hi @fc

You should try that : 

'Get current user name
Dim userName As String = si.AuthToken.UserName

If it helps, please provide a kuddo!
Thanks

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.