ASP.NET MVC: Using ProfileRequiredAttribute to restrict access to page

added by gpeipman
12/22/2010 6:07:30 PM

1 Kicks, 118 Views

If you are using AppFabric Access Control Services to authenticate users when they log in to your community site using Live ID, Google or some other popular identity provider, you need more than AuthorizeAttribute to make sure that users can access the content that is there for authenticated users only. In this posting I will show you hot to extend the AuthorizeAttribute so users must also have user profile filled.