Re: web.config -> authorization -> allow domain group ?

From: Justin Grigg (justin_at_leegrigg.com)
Date: 05/06/03


Date: Tue, 6 May 2003 10:34:03 +0100


Yury,

The users attibute is a list of users. If you want to provide a Windows
group then enter a roles attribute with the domain\role. eg:

<allow users="domain\username" roles="domain\role />

To find out the user you have to use User.Identiy from within your code.

Justin (MCP)

"Yury Zenkevich" <yury@altiris.ee> wrote in message
news:O8qLMh6EDHA.1696@TK2MSFTNGP10.phx.gbl...
> Hi All !
>
> How can I specify in web.config, that authorization section will only pass
> user from domain group ?
> Seems like when I do this:
>
> <authorization>
> <allow users="domain\domain group">
>
> it looks for user named "domain group" on domain, but will not pass the
> members of this group to application...
>
> Thank you,
>
> YZ.
>
>