Blog

Code Groups in C#

By Puran Mehra Mar 01 2010
A code group is a logical grouping of code that fulfills a specific condition for membership.
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 9.3k
  • 0
A code group is a logical grouping of code that fulfills a specific condition for membership. Any code that meets a code group’s membership condition is said to be in that code group. All security level administrators configure security policy by managing code groups. Code groups that build a policy tree are composed of two parts: a membership condition and a named permission set. 

Table 22.2 lists the membership conditions for code groups and includes descriptions excerpted from the .NET Framework Configuration tool’s MMC console. 

table22.2.gif

Table 22.2: Code Groups and Conditions