Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Microsoft PowerApps

You're reading from   Learn Microsoft PowerApps Build customized business applications without writing any code

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher Packt
ISBN-13 9781789805826
Length 560 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Matthew Weston Matthew Weston
Author Profile Icon Matthew Weston
Matthew Weston
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Section 1: Getting Started with PowerApps FREE CHAPTER
2. Introducing PowerApps 3. Creating Your First Canvas PowerApp 4. Creating Apps from SharePoint 5. Publishing and Leveraging PowerApps 6. Section 2: Developing Your PowerApp
7. Exploring Controls 8. Exploring Formulas 9. Working with Data 10. Introducing Connectors 11. Section 3: Extending the Capabilities of Your PowerApp
12. Using GPS in PowerApps 13. Working with Images and Barcodes 14. Securing Your PowerApps 15. Working Offline 16. Using Power Automate with PowerApps 17. Using Azure with PowerApps 18. Section 4: Working with Model-Driven Apps
19. Introducing Model-Driven Apps 20. Creating Model-Driven Apps 21. Section 5: Governing PowerApps
22. Exploring Environments within Our Tenancy 23. Assessments 24. Other Books You May Enjoy

Lab 10

Within this lab, we are going to implement a basic access control list using a collection so that we can define our administrators. Administrators will be able to view a list of all admins.

Activity 1: Creating the collection

The first thing that we are going to do is create the list of administrators so that our app will respond in different ways to different users that log in:

  1. Open your PowerApp.
  2. In the Tree view, select App:
  1. Ensure that you have the OnStart property selected.
  2. Below the exiting formulas, start a new line and create a collection of users:
ClearCollect(colUsers,{User: "[email protected]"},{User: "[email protected]"})
  1. Click the ellipsis next to App and select Run OnStart to populate your collection:
  1. Confirm that your collection has been populated by going to the Collections screen:

Now that we have created the underlying security structure, we can make the necessary changes to the rest of the app to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image