Share via


SPMemberCollection.RetrieveAllRoles property

Gets or sets a Boolean value that specifies whether to preload roles for users to increase performance.

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

Syntax

'Declaration
Public Property RetrieveAllRoles As Boolean
    Get
    Set
'Usage
Dim instance As SPMemberCollection
Dim value As Boolean

value = instance.RetrieveAllRoles

instance.RetrieveAllRoles = value
public bool RetrieveAllRoles { get; set; }

Property value

Type: System.Boolean
true to preload roles to increase performance; otherwise, false.

See also

Reference

SPMemberCollection class

SPMemberCollection members

Microsoft.SharePoint namespace