Partilhar via


SPUserCustomAction.Rights Property

Gets or sets a value that specifies the permissions needed for the custom action.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overridable Property Rights As SPBasePermissions
    Get
    Set
'Usage
Dim instance As SPUserCustomAction
Dim value As SPBasePermissions

value = instance.Rights

instance.Rights = value
public virtual SPBasePermissions Rights { get; set; }

Property Value

Type: Microsoft.SharePoint.SPBasePermissions
A set of built-in permissions.

See Also

Reference

SPUserCustomAction Class

SPUserCustomAction Members

Microsoft.SharePoint Namespace