Hi. Can anyone tell me what is the way of getting the details (fullname,email,etc) of the current logged in user using the powerapps component framework. Thank you.
Solved! Go to Solution.
Hi @ThareLyn :
User's info is available under context.userSettings.
I think this link will help you a lot:
In addition,you can also refer to this post:
How to display the current user information by code?
Best Regards,
Bof
you can get user name and userid and security roles of the user from context.userSettings.
context.userSettings.userName
However, if you need other user attributes, you may need to use context.webapi.retrieve to query uer entity with userid
Hi @ThareLyn :
User's info is available under context.userSettings.
I think this link will help you a lot:
In addition,you can also refer to this post:
How to display the current user information by code?
Best Regards,
Bof
you can get user name and userid and security roles of the user from context.userSettings.
context.userSettings.userName
However, if you need other user attributes, you may need to use context.webapi.retrieve to query uer entity with userid
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.