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.Union

Computes the union of two permission sets.

[Visual Basic]
Overridable Public Function Union( _
   ByVal other As PermissionSet _
) As PermissionSet
[C#]
public virtual PermissionSet Union(
   PermissionSet other
);
[C++]
public: virtual PermissionSet* Union(
   PermissionSet* other
);
[JScript]
public function Union(
   other : PermissionSet
) : PermissionSet;

Parameters

other
The other permission set to union with.

Return Value

The union of the two permission sets.

Remarks

The union of permission sets is the union of like-type permissions in both sets plus all permissions in only one of the sets. If either set is unrestricted (contains all permissions) then the union will simply be unrestricted, too.

See Also

PermissionSet Class | PermissionSet Members | System.Security Namespace