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)
Syntax
'Declaration
Public Property AutoAcceptRequestToJoinLeave As Boolean
Get
Set
'Usage
Dim instance As SPGroup
Dim value As Boolean
value = instance.AutoAcceptRequestToJoinLeave
instance.AutoAcceptRequestToJoinLeave = value
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.