Share via


SPGroup.AllowRequestToJoinLeave property

Gets or sets a Boolean value that specifies whether to allow users to request membership in the group and to allow users to request to leave the group.

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

Syntax

'Declaration
Public Property AllowRequestToJoinLeave As Boolean
    Get
    Set
'Usage
Dim instance As SPGroup
Dim value As Boolean

value = instance.AllowRequestToJoinLeave

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

Property value

Type: System.Boolean
true to allow users to request membership in the group or request to leave the group; otherwise, false.

See also

Reference

SPGroup class

SPGroup members

Microsoft.SharePoint namespace