Forum Discussion

fc's avatar
fc
New Contributor III
2 years ago

Retrieve username from within BR

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

  • 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

  • NicolasArgente's avatar
    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