Declarative role-based security
From: Jason L James (jason_at_no-spam.dive-master.org)
Date: 08/26/04
- Next message: Paul Glavich [MVP - ASP.NET]: "Re: ASP.Net pages randomly require authentication (but show OK anyway)"
- Previous message: Jonathan Gross: "using certificate from the local machine store"
- Next in thread: Nicole Calinoiu: "Re: Declarative role-based security"
- Reply: Nicole Calinoiu: "Re: Declarative role-based security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 Aug 2004 11:38:07 GMT
Does anyone know how I catch the exception raised
when the securityAction.Demand method fails in the
declarative role-based security example below.
<PrincipalPermission(SecurityAction.Demand, _
Name:="????", _
Role:="????")> _
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button5.Click
.....
.....
.....
.....
End Sub
Thanks,
Jason.
- Next message: Paul Glavich [MVP - ASP.NET]: "Re: ASP.Net pages randomly require authentication (but show OK anyway)"
- Previous message: Jonathan Gross: "using certificate from the local machine store"
- Next in thread: Nicole Calinoiu: "Re: Declarative role-based security"
- Reply: Nicole Calinoiu: "Re: Declarative role-based security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]