I see Fritz has posted the sample code for our forthcoming article on ASP.NET role-based authentication. Of course, it's being published in German. :)
We're also going to try to get the article up on the DevelopMentor website. I'll post here when that happens, of course. In the meantime, from Fritz's resources page:
Efficient Role-Based Authentication Sample
One of the most useful features of ASP.NET forms-based authentication is the ability to use roles when designing a security infrastructure. When used naively, however, it can be very inefficient. This sample presents a technique for improving the efficiency of role membership lookup by leveraging the FormsAuthenticationTicket class and caching role membership information in the encrypted authentication cookie.