Upon logging into the application, then I want to check which teams is the user a member of?
this particular user can be a member in Team A and Team B. and then I want to fetch also what his/her role
First use the listTeams
method
https://appwrite.io/docs/client/teams?sdk=web-default#teamsList
Then, use listMemeberships
to get roles by tam https://appwrite.io/docs/client/teams?sdk=web-default#teamsListMemberships
Team Membership: How to check the user belongs to which team
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- Is there way to copy project (backup/res...
I think there is betterr way of fast back up / restore specified project
- Database setup
Hi everybody, I'm new to AppWrite and I need some help designing a database. I'm trying to set up a database where: 1. There are USERS 2. A USER can create an ...