Enabling Authorization and Creating Permissions

Authorization and authentication features in LightSwitch are used 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 groups of users defined as roles.

In this set of lessons you will learn how to enable authentication and create permissions.

Note

These lessons build upon the My First Application project that you last modified in the Adding a Logo and Icon lesson. If it is not already open, open it from the File, Open Project menu.

Lessons

Title

Description

Enabling Authentication

Shows you how to authenticate users.

Creating Permissions

Shows you how to create a permission to view a screen.

Restricting Access to Screens

Shows you how to apply a permission in code.

Using Debug Permissions to Test Code

Shows you how to run with a set of permissions.

See Also

Tasks

LightSwitch Authentication and Authorization

Concepts

LightSwitch Guided Tour