M
MS Newsgroups
Hi,
I am trying to use declarative security in a ASP .net application
With the statement below
<System.Security.Permissions.PrincipalPermission(System.Security.Permissions
..SecurityAction.LinkDemand, Role:="BUILTIN\Account Operators")> _
Public Class myClass
I always receive a security exception regardless if i am a member of the
role. Server is configured for Windows Authentication and identity
imperonate is set to true in web.config.
Is this supposed to work, or am i doing something wrong ?
Regards
Niclas
I am trying to use declarative security in a ASP .net application
With the statement below
<System.Security.Permissions.PrincipalPermission(System.Security.Permissions
..SecurityAction.LinkDemand, Role:="BUILTIN\Account Operators")> _
Public Class myClass
I always receive a security exception regardless if i am a member of the
role. Server is configured for Windows Authentication and identity
imperonate is set to true in web.config.
Is this supposed to work, or am i doing something wrong ?
Regards
Niclas