Determines whether the current System.Security.PermissionSet is a subset of the specified System.Security.PermissionSet.
- target
- The permission set to test for the subset relationship. This must be either a System.Security.PermissionSet or a System.Security.NamedPermissionSet.
true if the current System.Security.PermissionSet is a subset of the target parameter; otherwise, false.
A System.Security.PermissionSet is a subset of the target System.Security.PermissionSet if all demands that succeed for the System.Security.PermissionSet also succeed for the target. That is, the target contains at least the permissions contained in the subset.