Condividi tramite


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property AllowRequestToJoinLeave As Boolean
    Get
    Set
'Usage
Dim instance As SPGroup
Dim value As Boolean

value = instance.AllowRequestToJoinLeave

instance.AllowRequestToJoinLeave = value
[ClientCallableAttribute]
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