Share via


ConsoleAction.UserRights Property

Determines whether a user has 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 T:Microsoft.SharePoint.Publishing.WebControls.ConsoleAction objects.

When the current user does not have the specified rights, this T:Microsoft.SharePoint.Publishing.WebControls.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