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!

PermissionSet.IsSubsetOf

Determines whether the current permission object is a subset of- that is, specifies a set of operations that is wholly contained by- the specified permission object.

[Visual Basic]
Overridable Public Function IsSubsetOf( _
   ByVal target As PermissionSet _
) As Boolean
[C#]
public virtual bool IsSubsetOf(
   PermissionSet target
);
[C++]
public: virtual bool IsSubsetOf(
   PermissionSet* target
);
[JScript]
public function IsSubsetOf(
   target : PermissionSet
) : Boolean;

Parameters

target
Other permission set to test the subset relationship.

Return Value

True if the permission set is a subset of the target permission set.

Remarks

A permission set is a subset of another if all permissions in it are also contained in the other.

See Also

PermissionSet Class | PermissionSet Members | System.Security Namespace