listCreateRequests( )


Lists requests to create a group.

Note: This function is only relevant if admin approval is required for creating a group, or if the function's suppressAuth option is set to true.

The listCreateRequests() function returns a Promise that resolves to a list of up to 1,000 create requests on your site. Sorts by default to _createdDate in descending order. Only site admins can see create requests. Site members can access their own create requests in their site.

Notes:

  • If the suppressAuth option is set to true, all permissions are overwritten, and all site members can see create requests.
  • This function's parameters are positional, and must be specified in the sequence shown in the syntax below. When specifying a parameter, use null as a placeholder for any unspecified parameters. For example, to specify limit only, call listCreateRequests(paging, null). To specify supressAuth only, call listCreateRequests(null, options).
Method Declaration
Copy
Method Parameters
pagingPaging

Paging options.


optionsOptions

Authorization options.

Returns
Return Type:Promise<ListCreateRequests>
Did this help?