Apr 30, 2012 07:11 AM|Steven Cheng - MSFT|LINK
As for the ASP.NET membership or role manage providers, you can use them (through the Membership and Roles class in code) in either ASP.NET web application/web service application or non-ASP.NET applications(such as winform , WPF, console aplications) as
long as you properly set the providers in the app.config file(web.config file for web apps).
Here is a former article which has provided an example and explanation on using ASP.NET membership and role providers in non-ASP.NET applications:
#Manage database of ASP.NET 2.0 Membership & Role services in non-ASP.NET context