ASP.NET Server Controls Tag for Role Based Authorization
<p>I've got a web form with lots fields and buttons. These fields and buttons should be enabled and disabled based on users Role i.e. 'employee', 'team leader', 'manager' etc.</p>

<p>Is there a way to tag each fields such as emp for employee, tm for teamleader so that I can enable or disable them with 1 or 2 lines of code?</p>

<p>Otherwise I will have to write lots of if else statement for each controls.</p>

<p>thank you</p>
