ion. To authorize the users by role or policy, simply pass it to the <code>Authorize</code> attribute like this.</p>
<pre class="code" language="razor">@attribute [Authorize(Roles = "Admin,SuperAdmin", Policy = "CanBuyAlcohol")]</pre>