autoAddUsers

Function

Attempts to auto-add users to a group

  • autoAddUsers(id: string, users: IUser[], authentication: IAuthenticationManager) : Promise<IAddGroupUsersResult>

Parameters

Parameter Type Default Notes
id Required string

ID of the group the users will be added to

users Required IUser[]
authentication Required IAuthenticationManager

Returns

Result of the transaction (null if no users are passed in)

Promise<IAddGroupUsersResult>
Property Type Notes

Function defined in common/src/groups/add-users-workflow/workflow-sections/auto-add-users.ts:19