Hi,
I've implemented a catch all security exceptions method in my global.asax like this...
protected void Application_Error(object sender, EventArgs e)
{
Exception err = Server.GetLastError();
if (err is System.Security.SecurityException)
Response.Redirect("~/Error/Roles.aspx);
}
Is there a property I can access that shows the name of the role which was missing from the users permissions? Ie. err.RoleThatFailed?
Manh thanks,
ETFairfax.