Use the hook useUserDefaultRole to get the default role of the user.
useUserDefaultRole
const userDefaultRole = useUserDefaultRole()
Was this page helpful?