Introduction
In this article I describe how to enable authentication using LightSwitch in Visual Studio 2012.
In LightSwitch the Authentication feature is used to control access to screens and data. It shows us how to authenticate a user.
We can develop our application more securely by applying authentication, by which users must identify themselves in order to access the application in LightSwitch Visual Studio 2012.
Note: In Windows Authentication there is no additional username or word require
Enable Authentication
Step 1
Open the Solution Explorer in Light Switch Visual Studio 2012.
Image 1
Step 2
In Solution Explorer, right-click or double-click on "Properties" to open the "Application Designer".
Image 2
Step 3
The Application Designer appears.
Image 3
Step 4
In the Application Designer, click the "Access Control" node.
Image 4
Step 5
Inside the Access Control Node go to the "Select the type of authentication to use" list, click on "Use Windows authentication".
Image 5
Step 6
As we run the application we will get the table.
Image 6
Step 7
Now we insert the value and click on the save button; we then have:
Image 7