Partilhar via


ConsoleAction.UserRights Property

Gets an object that represents the user rights to use this ConsoleAction object.

Namespace:  Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property UserRights As SPBasePermissions
    Get
'Usage
Dim instance As ConsoleAction
Dim value As SPBasePermissions

value = instance.UserRights
public abstract SPBasePermissions UserRights { get; }

Property Value

Type: Microsoft.SharePoint.SPBasePermissions
The SPBasePermissions rights mask representing the required rights.

Remarks

This property must be implemented by all ConsoleAction objects.

When the current user does not have the specified rights, this ConsoleAction object does not appear in the user interface. The most restrictive value is SPBasePermissions.FullMask.

See Also

Reference

ConsoleAction Class

ConsoleAction Members

Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions Namespace

RequiredStates