SPGroup.AutoAcceptRequestToJoinLeave Property
Gets or sets a Boolean value that specifies whether users are automatically added or removed when they make a request.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public Property AutoAcceptRequestToJoinLeave As Boolean
Get
Set
'Usage
Dim instance As SPGroup
Dim value As Boolean
value = instance.AutoAcceptRequestToJoinLeave
instance.AutoAcceptRequestToJoinLeave = value
[ClientCallableAttribute]
public bool AutoAcceptRequestToJoinLeave { get; set; }
Property Value
Type: System.Boolean
true to specify that users are automatically added or removed when they make a request; otherwise, false.