Calling early-stage startups: apply to the Neon Startup Program and get up to $100k in credits

TeamProfile

beta

Neon Auth TeamProfile object reference

This is a detailed reference for the TeamProfile and ServerTeamProfile objects in the Next.js SDK.

On this page:

TeamProfile

The TeamProfile object represents the profile of a user within the context of a team. It includes the user's profile information specific to the team and can be accessed through the teamUser.teamProfile property on a TeamUser object.

Table of Contents

type TeamProfile = {
  displayName: string | null;
  profileImageUrl: string | null;
};

teamProfile.displayName

The display name of the user within the team context as a string or null if no display name is set.

declare const displayName: string | null;

teamProfile.profileImageUrl

The profile image URL of the user within the team context as a string, or null if no profile image is set.

declare const profileImageUrl: string | null;

ServerTeamProfile

The ServerTeamProfile object is currently the same as TeamProfile.

Table of Contents

type ServerTeamProfile =
  // Inherits all functionality from TeamProfile
  TeamProfile;
Was this page helpful?