Share via


ConsoleNode.RightsMode property

Gets or sets whether all or any UserRights properties must be satisfied.

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

Syntax

'Declaration
Public Property RightsMode As PermissionMode
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As PermissionMode

value = instance.RightsMode

instance.RightsMode = value
public PermissionMode RightsMode { get; set; }

Property value

Type: Microsoft.SharePoint.Utilities.PermissionMode
A PermissionContext representing whether all or any rights must be satisfied.

Remarks

You may want to grant access to a ConsoleNode if the user has any one of several rights. In that case, set this property to PermissionMode.Any;.

See also

Reference

ConsoleNode class

ConsoleNode members

Microsoft.SharePoint.Publishing.WebControls namespace