Share via


ConsoleNode.UserRights property

Gets or sets the rights required for this user to see this ConsoleNode object.

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

Syntax

'Declaration
Public Overridable Property UserRights As SPBasePermissions
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As SPBasePermissions

value = instance.UserRights

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

Property value

Type: Microsoft.SharePoint.SPBasePermissions
The SPBasePermissions object's rights mask representing the required rights.
This value overrides that of a referenced ConsoleAction when the UseActionStatesMask property is set to false.

Remarks

When the current user does not have these specified rights, this ConsoleNode object does not appear in the user interface.

This UserRights property indicates the list of permissions for the given ConsoleAction object, but it is used in conjunction with the RightsMode property RightsMode may be set to any or all. If RightsMode is set to any, the ConsoleAction shows if the user has any one of the permissions in this property.

See also

Reference

ConsoleNode class

ConsoleNode members

Microsoft.SharePoint.Publishing.WebControls namespace