This text file contains example code from: Chapter 6 - WCF Extensions Book - SOA with .NET & Windows Azure: Realizing Service-Orientation with the Microsoft Platform Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl (www.soabooks.com/community) Certification - These examples are used as part of the Certified SOA .NET Developer curriculum (www.soaschool.com) <programlisting linenumbering="unnumbered">IPrincipal user = Thread.CurrentPrincipal; if (user.IsInRole(@"DomainName\contributors ")) { <?docpage num="126"?> ... allow users to contribute ... }</programlisting> </example>