Skip to main content

Notifications

Community site session details

Community site session details

Session Id : zFPyIkNeYestikmkzHzFmy
Power Apps - Building Power Apps
Unanswered

how do i know owner of sharepoint site in power apps

Like (0) ShareShare
ReportReport
Posted on 10 Jul 2019 05:44:09 by 150

i have sharepoint list  in which there are some users are owners , how do i know wether user is owner in sharepoint or not in power apps

Categories:
  • v-xida-msft Profile Picture
    on 11 Jul 2019 at 05:51:33
    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:2.JPG

     

    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,

  • Tejaswini1234 Profile Picture
    150 on 11 Jul 2019 at 05:36:25
    Re: how do i know owner of sharepoint site in power apps

    Is there any another way to acheive this?

    I want to compare current login user with owner of sharepoint site in power apps ,, when sharepoint list is customized using power apps.

     

     

    Thanks

  • v-xida-msft Profile Picture
    on 10 Jul 2019 at 08:48:18
    Re: how do i know owner of sharepoint site in power apps

    Hi @Tejaswini1234 ,

    Do you want to detect the owner of a SP List within a canvas app?

     

    If you want to detect the owner of a SP List within a canvas app, I afraid that there is no way to achieve your needs in PowerApps currently.

    Currently, there is no functions supported within PowerApps to get the Owners of a SP list. If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    Best regards,

  • Tejaswini1234 Profile Picture
    150 on 10 Jul 2019 at 07:51:56
    Re: how do i know owner of sharepoint site in power apps

    1) i have SharePoint list which is customized using power apps

    2) user who are in sharepoint site owner group should see some field others not 

    3) so i know wether log in user is owner of sharepoint site in power app or not 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,089 Most Valuable Professional

Leaderboard
Loading started