Share via


SP.Group.requestToJoinLeaveEmailSetting property (sp.js)

Gets or sets the email address to which the requests of the membership are sent.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Group.get_requestToJoinLeaveEmailSetting ()
var value = SP.Group.set_requestToJoinLeaveEmailSetting ()

Return value

Type: String

Text containing the email address to which the requests of the membership are sent.

REST resource endpoint

See Group resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/requestToJoinLeaveEmailSetting

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/requestToJoinLeaveEmailSetting

GET syntax

GET http://<sitecollection>/<site>/_api/web/sitegroups(groupid)/requestToJoinLeaveEmailSetting