removeUsersFromTeams

Function

Removes N users from N teams. Calls removeUsersFromTeam on each of the N teams

  • removeUsersFromTeams(teamIds: string[], usernames: string[], ro: IAuthenticationManager) : Promise<IRemoveGroupUsersResult[]>

Parameters

Parameter Type Default Notes
teamIds Required string[]

Array of team ids

usernames Required string[]

Array of usernames to remove

ro Required IAuthenticationManager

Auth

Returns

{Promise<IRemoveGroupUsersResult[]>}

Promise<IRemoveGroupUsersResult[]>

Function defined in packages/teams/src/remove-users-from-teams.ts:14