Authorization problem
From: Nikolay Petrov (johntup2_nospam__at_mail.bg)
Date: 10/26/04
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: Authorization problem"
- Previous message: Nicole Calinoiu: "Re: FileIO Permission specification?"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Authorization problem"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Authorization problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 26 Oct 2004 16:54:41 +0300
The following code doesn't produse the expected effect to only allow the
members of Administrators group to access the web method, it stops everyone.
=========
<WebMethod(), _
PrincipalPermission(SecurityAction.Demand, Role:="Administrators")> _
Public Function HelloWorld() As String
Return "Hello World"
End Function
=========
The web service folder is set to require only Windows Authentication, which
goes fine. I can get the user credentials whitout any problem.
What is wrong?
TIA
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: Authorization problem"
- Previous message: Nicole Calinoiu: "Re: FileIO Permission specification?"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Authorization problem"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Authorization problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|