The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.

Forum Discussion

fc's avatar
fc
Contributor
3 years ago
Solved

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?...
  • NicolasArgente's avatar
    3 years ago

    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