Anybody knows how to use custom provider in windows application? I want to
create a custom provider for my application users. User data would be in SQL
database. It would be great if I can assign this user object to current
principal of windows current thread. I saw lot of code for ASP.net provider,
but don't know how to use this in windows application.

Any source code would be helpful.

thanks in advance