addUsersToEvent
Attempts to add, invite, or email users about attending an event depending on the requesting user's permissions (see addUsersToGroup in hub-common)
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| eventId Required | string | ||
| usersToAdd Required | IUser[] | ||
| primaryRO Required | IHubRequestOptions |
Info and authentication for the requesting user |
|
| email Optional | IEmail | ||
| secondaryRO Optional | IHubRequestOptions |
Returns
The operations attempted, whether they were successful and any errors
| Property | Type | Notes |
|---|---|---|
| boolean | ||
| Optional | ISimpleResult | |
| Optional | ICreateOrgNotificationResult | |
| Optional | IInviteGroupUsersResult |
Function defined in events/src/add-users-to-event.ts:21