How to use PrincipalPermission objects to evaluate authorization roles in ASP.NET in C#
You can use the PrincipalPermission approach described in the article How to use the PrincipalPermission Class to check authorization in ASP.NET in C# to evaluate more complex authentication rules.
For example, your application can have three users User1 , User2 and User3. By using the approach described in the article How to use IsInRole method …