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