ASP.NET and WIF: Showing custom profile username as User.Identity.Name

added by gpeipman
12/22/2010 7:12:19 PM

1 Kicks, 141 Views

I am building ASP.NET MVC application that uses external services to authenticate users. For ASP.NET users are fully authenticated when they are redirected back from external service. In system they are logically authenticated when they have created user profiles. In this posting I will show you how to force ASP.NET MVC controller actions to demand existence of custom user profiles.