Invite user to a Synapse team via Synapse username or email (choose one or the other)
synInviteToTeam(team, user=NULL, inviteeEmail=NULL, message=NULL, force=FALSE, syn=NULL)
A Team object or a
Synapse username or profile id of user
Email of user
Additional message for the user getting invited to the
team. Default to None.
If an open invitation exists for the invitee,
the old invite will be cancelled. Default to False.
optional named parameter: Synapse object
MembershipInvitation or None if user is already a member