How to get login user id in powerapps portal
1- you can use this code to get user id
{{ user.id}}
2- get login user Company Id use below code:
'{{ user.parentcustomerid.id}}';
3- get login user Company Name
Account --> {{ user.parentcustomerid.Name }}