Share via


SPRoleDefinition.Hidden Property

Gets a Boolean value that indicates whether the role definition is displayed on the Add Users page.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Hidden As Boolean
    Get
'Usage
Dim instance As SPRoleDefinition
Dim value As Boolean

value = instance.Hidden
[ClientCallableAttribute]
public bool Hidden { get; }

Property Value

Type: System.Boolean
true if the role definition is displayed; otherwise, false.

See Also

Reference

SPRoleDefinition Class

SPRoleDefinition Members

Microsoft.SharePoint Namespace