How do I use the Windows Token role provider for ASP.NET role authorization in WCF?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit ChoudharyRank #145 · 15.8K reputationPosted May 8, 2011, 9:48 PM EDT
Hi Dinesh, You may want to use WindowsPrincipal permission on your contracts for security. [OperationContract] bool Read(); [PrincipalPermission(SecurityAction.Demand, Role = "Authors")] [OperationContract] bool Write();To utilize Windows Active Directory groups, configure a service behavior:
Dinesh BeniwalRank #9 · 64K reputationPosted May 8, 2011, 9:50 PM EDT