Text version of the video
Slides
All ASP .NET Text Articles
All ASP .NET Slides
All Dot Net and SQL Server Tutorials in English
All Dot Net and SQL Server Tutorials in Arabic
In Part 87, we have discussed the basics of windows authentication. In this session, we will continue to discuss about windows authentication. Please watch Part 87, before proceeding.
Link for Part 87
? and * have special meaning when used in the authorization element in web.config.
? (Question Mark) – Indicates anonymous users
* (Star) – Indicates all users
In this video we will discuss about
1. Allowing or denying access to specific users
2. Using windows roles to control access
3. How to programmatically check if the user belongs to a specific role
if (User.IsInRole(“Administrators”))
{
// Do Admin Stuff
}
else
{
// Do Non-Admin stuff
}