Share via


SPObjectRights.Union method

When implemented in a derived class, creates a new set of rights that is the union of the current object rights and the specified rights.

Namespace:  Microsoft.SharePoint.Administration.AccessControl
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public MustOverride Function Union ( _
    objectRights As SPObjectRights _
) As SPObjectRights
'Usage
Dim instance As SPObjectRights
Dim objectRights As SPObjectRights
Dim returnValue As SPObjectRights

returnValue = instance.Union(objectRights)
public abstract SPObjectRights Union(
    SPObjectRights objectRights
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.AccessControl.SPObjectRights
A new set of rights that represents the union of the currentSPObjectRights object rights and the specified rights.

See also

Reference

SPObjectRights class

SPObjectRights members

Microsoft.SharePoint.Administration.AccessControl namespace