|
-
May 31st, 2005, 02:17 AM
#1
Thread Starter
Frenzied Member
Trouble with authentication in asp.net
Im trying to setup windoes based security for my asp.net web app in server 2003. This is what I have done
* Created the user "testuser" on the local machine
* created the group "testgroup" on the local machine
* added testuser -> testgroup
* created an asp.net webapp in IIS and set it to windows authentication
* in explorer, I have added testgroup to read rights on the web app folder.
* Now I run the app, I enter the username and password and it let me in..
BUT when I write User.IsInRole("testgroup") I get "false"... why is that??? I should get "true"....
so my problem is with the groups, everything else works fine!!!
whats the problem?
/Henrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|