NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICodeGroup Members

Properties

AttributeString Gets a string representation of the attributes of the policy statement for the code group.
Children Gets an ordered list of the child code groups of a code group.
MembershipCondition The code group's membership condition.
MergeLogic [To be supplied.]
PermissionSetName Name of the named permission set for the code group.

Methods

AddChild Adds a child code group to this code group.
Copy Makes a deep copy of the code group.
RemoveChild Removes the specified child code group.
Resolve Resolve policy for the code group and its descendants for a set of evidence. Given evidence for an assembly to be loaded, this method evalutes the code group by first checking the membership condition against the evidence and if it matches returning a policy statement for the code group, including evaluation of child code groups.

The system uses Resolve() on the policy levels to determine what permissions to grant to loaded code from the resultant policy statements and the code request on the assembly.

See Also

ICodeGroup Interface | System.Security.Policy Namespace