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;
The union of the two permission sets.
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.
PermissionSet Class | PermissionSet Members | System.Security Namespace