Enabling Authorization and Creating Permissions in LightSwitch
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
You can use the authorization and authentication features in LightSwitch to control access to screens and data. For example, you could create a permission to view a payroll screen, and the application administrator can grant or deny that permission to individuals or to groups of users defined as roles.
In this set of lessons you will learn how to enable authentication and create permissions.
These lessons build upon the My First Application project that you last modified in the Setting the Startup Screen lesson. If your application isn't already open in Visual Studio, on the menu bar, choose File, Open Project to open it. |
| Read this lesson | To learn |
|---|---|
| Enabling Authentication | How to prevent unauthorized users from accessing your LightSwitch application. |
| Creating Permissions | How to create a permission to view a screen. |
| Restricting Access to a Screen | How to apply a permission in code. |
| Using Debug Permissions to Test Code | How to test your code with different sets of permissions. |
LightSwitch Guided Tour
How to: Enable Authentication in an HTML Client App