Forum Discussion

jdmbkj's avatar
jdmbkj
Regular Visitor
4 years ago

Power BI authorization

Hi All.

I need to make a little authorization process in Power BI.

 

When I am using USERNAME() it is giving me my e-mail. But instead of this I need to have an "Alias". 

 

When I am clicking on up right corner of the screen on powerbi.com, I have "View Account". Then I go into "Personal info" and I've got there "Contact details". Below are "Email" and "Alias". Is there a chance to have this Alias instead of Email?

2 Replies

  • jdmbkj  There are as of now two functions (USERNAME and USERNAMEPRINCIPAL) to track the login person info.

     

    • jdmbkj's avatar
      jdmbkj
      Regular Visitor

      Thanks, but both functions returns me my email. That is the same result using USERNAME and USERNAMEPRINCIPAL. Is there a chance to do something with that?