web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Limited login access
Power Apps
Answered

Limited login access

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 

I have a table with login and password in fist screen(

Lourenacdm_0-1597943465343.png

 

and when I login I enter a menu screen where the person can choose whether to include data, consult or edit, etc.

 

I would like to limit this access by login, I made a table with the users and the accesses are in accordance with the columns below:

 

Lourenacdm_0-1597942726945.png

 

And within the screens I have access that must also be included.

 

Where is the value 1 indicates where the person has access. But I don't know how I can do that, if I set Displaymode to Disabled, what would be the best way it could work?

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @Anonymous ,

    Something like

    With(
     {vUserName:User().FullName},
     If(
     LookUp(
     YourTableName,
     username=vUserName,
     promotories
     )=1,
     Navigate(YourPromotoriesSreen),
     Notify("Whatever massage you want",Error)
     )
    )
    

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz , hello, thanks for your answer!! 

     

    Lourenacdm_0-1597996019799.png

     

    I tested this formula on the navigation button's Onselect to promotore's screen: 

     

    But this error is getting worse: 

    Lourenacdm_1-1597996047330.png

     

    it's probably something I did wrong, would you know what to do?

     

  • Verified answer
    WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @Anonymous ,

    What type of field is promotories? If Text try this.

    With(
     {vUserName:User().FullName},
     If(
     LookUp(
     YourTableName,
     username=vUserName,
     promotories
     )="1",
     Navigate(YourPromotoriesSreen),
     Notify("Whatever massage you want",Error)
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard