Re: <allow users=""> question



On May 24, 9:52 pm, Tom <T...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
is it possible to add a bunch of users to group and only allow group to
access the web page or do I need to add each user to the web.config file?


yes, sure

Specify the "roles" property when configuring <deny> and <allow>
elements, as shown here:

<authorization>
<allow roles="DomainName\WindowsGroup" />
<deny users="DomainName\UserName" />
</authorization>

http://msdn2.microsoft.com/en-us/library/acsd09b0.aspx
http://msdn2.microsoft.com/en-us/library/ms998358.aspx

.


Loading