N
Nikolay Petrov
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
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