--- title: User / Teams hooks description: 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. ```js import { useMe } from "@calcom/atoms"; export default function UserDetails() { const { data: userData, isLoading: isLoadingUser } = useMe(); return ( <> {isLoadingUser &&
Loading...
} {!isLoadingUser && !userData &&No user found
} {!isLoadingUser && !!userData && return (Loading...
} {!isLoadingTeams && !teams &&No teams found
} {!isLoadingTeams && teams && (Boolean(teams?.length)) && teams?.map((team) => { return (