Skip to main content
June 19, 2023
Solved

Retrieve username from within BR

  • June 19, 2023
  • 1 reply
  • 0 views

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

Best answer by NicolasArgente

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

1 reply

June 19, 2023

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