|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IsInRole from ASP.NET failingI'm attempting to restrict access to my ASP.NET application using role based security. I'm using .NET v1.1 In code I check IsInRole for a local machine group, and it returns false. The name of the group is properly qualified with machine name in caps, and a forward slash (actually 2 'cause I'm using c# w/o @) and then the name of the group properly cased, yet it fails to find it. I found code on the internet that lets you see what groups IsInRole is checking against, and I do not see this group in there. I have 99 entries. I've tried a variety of tests like adding new groups that the user is a member of, removing group membership for groups the user is a member of, and nothing works. I still have 99 entries, and the groups that I remove the user from being a member of still appear in the list of groups the user is allegedly a member of. I've also tried rebooting the server, resetting IIS, clearing my temporary internet files cache, and nothing seems to make it work. I did check to see that IsInRole would be satisfied by providing a group that shows up in the group membership enumeration, and that does work. Anyone run into anything like this before or have any suggestions for me? Your help is appreciated! |
|||||||||||||||||||||||