Re: how do i know owner of sharepoint site in power apps
Hi @Tejaswini1234 ,
Based on the needs that you mentioned, I afraid that there is no way to achieve your needs in PowerApps currently.
As an alternative solution, you could consider save the Display name and email address of all the Owners of your SP List into a separated SP list (or other data source, e.g. Excel table) manually. The data structure of the separated List should be as below:
Then within your app, you could check if the current login user is a owner of your SP list data source using the following formula:
If(
User().DisplayName in 'YourSeparatedOwnerList'.DisplayName,
true, /* <-- Is a Owner */
false /* <-- Is not a Owner*/
)
Or
If(
User().Email in 'YourSeparatedOwnerList'.Email,
true, /* <-- Is a Owner */
false /* <-- Is not a Owner*/
)
Please consider take a try with above alternative solution, then check if the issue is solved.
Best regards,