The User function returns a record of information about the current user:
Note The information returned is for the current Power Apps user. It will match the "Account" information that is displayed in the Power Apps players and studio, which can be found outside of any authored apps. This may not match the current user's information in Office 365 or other services.
Note If you published your application with a User function prior to March 2020, you may find that it, intermitently, will not retrieve photos. The issues were fixed in the late March 2020 release. To take advantage of the updated implementation, simply re-open your application, save it, and republish it.
Syntax
User()
Examples
The current Power Apps user has the following information:
Full Name: "John Doe"
Email address: "john.doe@contoso.com"
Image:
Comentários