Hooks
User / Teams hooks
Overview of all the hooks associated with managed users or teams.
1. useMe
The useMe returns the current managed user’s info. This hook is useful when you need to display a managed user’s details.
Below code snippet shows how to use the useMe hook to fetch user details.
2. useTeams
The useTeams returns all teams info. This hook is useful when you need to display or manage a user’s entire collection of teams.
Below code snippet shows how to use the useTeams hook to fetch team details.
Was this page helpful?