PDA

Click to See Complete Forum and Search --> : Web.config Question


Keyj63
Mar 31st, 2005, 11:26 AM
Is there a way to allow all users from a particular domain to access a site? Right now I am having to place the domain and the user name for everyone that comes to the site. It is a site that is internal to the company. for example

<allow users="domain\user1,domain\user2,domain\user3" />

I tried using a wildcard like
<allow users="domain\*" />

but it does not allow that. Is there a different way?

Thanks!

axion_sa
Mar 31st, 2005, 11:44 AM
Nope. However, perhaps an alternative is to try using domain groups. Give this a shot:

<allow users="Domain\Domain Users" />


Just replace the domain - "Domain Users" (assuming I remember correctly) is a group that contains all users on the specified domain.

Keyj63
Mar 31st, 2005, 02:30 PM
I just tried that idea and it does not work for me...any other suggestions?

mendhak
Mar 31st, 2005, 10:46 PM
Try


<allow roles="domainname\Everyone" />


OR, if that doesn't work


<allow roles="domainname\Managers, domainname\EmployeeA, domainname\etc">