Forum Discussion

smpa01's avatar
smpa01
Community Champion
1 year ago
Solved

upn

Can databricks notebook return the current UPN (equiavalent DAX USERPRINCIPALNAME())? select current_user() returns trusted-service-user which is not useable. I need it to return the follow...
  • smpa01's avatar
    smpa01
    1 year ago

    mssparkutils.env.getUser