How to Authenticate Users ?

Topics: General Discussion Forum, July and December Releases Forum
Feb 29, 2008 at 6:13 AM
Edited Feb 29, 2008 at 6:25 AM

In my Project i wanna check the user has permission or not, in the beginning and inside the service too...
How can i check that, from the Adapter class i wanna check it. then only i can call the InsertCategoryAction(Bussiness Logic).
How can i authenticate inside the service, how can we take the user name into the service..?

Feb 29, 2008 at 5:39 PM
Edited Feb 29, 2008 at 5:39 PM
There are many places that show you how to authenticate and authorize in a WCF service. You can check this links:

WCF Security 101:

Sample on Declarative security and an easy way to use it:

You also have a package for this, "WCF Security Guidance Package" that will help you with securing WCF services.