Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/blocks/deps.ts>supabase.GoTrueAdminApi#getUserById

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
method supabase.GoTrueAdminApi.prototype.getUserById
Re-export
import { supabase } from "https://deno.land/x/blocks@1.72.0/deps.ts";
const { GoTrueAdminApi } = supabase;

Get user by id.

Parameters

uid: string

The user's unique identifier

This function should only be called on a server. Never expose your service_role key in the browser.