Magidoc

User
Object

A user is an individual's account on GitHub that owns repositories and can make new content.

Fields

#

anyPinnableItems

Non-null

Determine if this repository owner has any items that can be pinned to their profile.

avatarUrl

Non-null

A URL pointing to the user's public avatar.

bio

The user's public profile bio.

bioHTML

Non-null

The user's public profile bio as HTML.

canReceiveOrganizationEmailsWhenNotificationsRestricted

Non-null

Could this user receive email notifications, if the organization had notification restrictions enabled?

commitComments

Non-null

A list of commit comments made by this user.

company

The user's public profile company.

companyHTML

Non-null

The user's public profile company as HTML.

contributionsCollection

Non-null

The collection of contributions this user has made to different repositories.

copilotEndpoints

The user's Copilot endpoint information

createdAt

Non-null

Identifies the date and time when the object was created.

databaseId

Identifies the primary key from the database.

email

Non-null

The user's publicly visible profile email.

enterprises

A list of enterprises that the user belongs to.

estimatedNextSponsorsPayoutInCents

Non-null

The estimated next GitHub Sponsors payout for this user/organization in cents (USD).

followers

Non-null

A list of users the given user is followed by.

following

Non-null

A list of users the given user is following.

gist

Find gist by repo name.

gistComments

Non-null

A list of gist comments made by this user.

gists

Non-null

A list of the Gists the user has created.

hasSponsorsListing

Non-null

True if this user/organization has a GitHub Sponsors listing.

hovercard

Non-null

The hovercard information for this user in a given context

id

ID !
Non-null

The Node ID of the User object

interactionAbility

The interaction ability settings for this user.

isBountyHunter

Non-null

Whether or not this user is a participant in the GitHub Security Bug Bounty.

isCampusExpert

Non-null

Whether or not this user is a participant in the GitHub Campus Experts Program.

isDeveloperProgramMember

Non-null

Whether or not this user is a GitHub Developer Program member.

isEmployee

Non-null

Whether or not this user is a GitHub employee.

isFollowingViewer

Non-null

Whether or not this user is following the viewer. Inverse of viewerIsFollowing

isGitHubStar

Non-null

Whether or not this user is a member of the GitHub Stars Program.

isHireable

Non-null

Whether or not the user has marked themselves as for hire.

isSiteAdmin

Non-null

Whether or not this user is a site administrator.

isSponsoredBy

Non-null

Whether the given account is sponsoring this user/organization.

isSponsoringViewer

Non-null

True if the viewer is sponsored by this user/organization.

isViewer

Non-null

Whether or not this user is the viewing user.

issueComments

Non-null

A list of issue comments made by this user.

issues

Non-null

A list of issues associated with this user.

itemShowcase

Non-null

Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.

lifetimeReceivedSponsorshipValues

Non-null

Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon.

lists

Non-null

A user-curated list of repositories

location

The user's public profile location.

login

Non-null

The username used to login.

monthlyEstimatedSponsorsIncomeInCents

Non-null

The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).

name

The user's public profile name.

organization

Find an organization by its login that the user belongs to.

organizationVerifiedDomainEmails

[ String !]!
Non-null

Verified email addresses that match verified domains for a specified organization the user is a member of.

organizations

Non-null

A list of organizations the user belongs to.

packages

Non-null

A list of packages under the owner.

pinnableItems

Non-null

A list of repositories and gists this profile owner can pin to their profile.

pinnedItems

Non-null

A list of repositories and gists this profile owner has pinned to their profile

pinnedItemsRemaining

Non-null

Returns how many more items this profile owner can pin to their profile.

project

Find project by number.

projectV2

Find a project by number.

projects

Non-null

A list of projects under the owner.

projectsResourcePath

Non-null

The HTTP path listing user's projects

projectsUrl

Non-null

The HTTP URL listing user's projects

projectsV2

Non-null

A list of projects under the owner.

pronouns

The user's profile pronouns

publicKeys

Non-null

A list of public keys associated with this user.

pullRequests

Non-null

A list of pull requests associated with this user.

recentProjects

Non-null

Recent projects that this user has modified in the context of the owner.

repositories

Non-null

A list of repositories that the user owns.

repositoriesContributedTo

Non-null

A list of repositories that the user recently contributed to.

repository

Find Repository.

repositoryDiscussionComments

Non-null

Discussion comments this user has authored.

repositoryDiscussions

Non-null

Discussions this user has started.

resourcePath

Non-null

The HTTP path for this user

savedReplies

Replies this user has saved

socialAccounts

Non-null

The user's social media accounts, ordered as they appear on the user's profile.

sponsoring

Non-null

List of users and organizations this entity is sponsoring.

sponsors

Non-null

List of sponsors for this user or organization.

sponsorsActivities

Non-null

Events involving this sponsorable, such as new sponsorships.

sponsorsListing

The GitHub Sponsors listing for this user or organization.

sponsorshipForViewerAsSponsor

The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.

sponsorshipForViewerAsSponsorable

The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.

sponsorshipNewsletters

Non-null

List of sponsorship updates sent from this sponsorable to sponsors.

sponsorshipsAsMaintainer

Non-null

The sponsorships where this user or organization is the maintainer receiving the funds.

sponsorshipsAsSponsor

Non-null

The sponsorships where this user or organization is the funder.

starredRepositories

Non-null

Repositories the user has starred.

status

The user's description of what they're currently doing.

suggestedListNames

Non-null

Suggested names for user lists

topRepositories

Non-null

Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created

totalSponsorshipAmountAsSponsorInCents

The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization.

twitterUsername

The user's Twitter username.

updatedAt

Non-null

Identifies the date and time when the object was last updated.

url

Non-null

The HTTP URL for this user

viewerCanChangePinnedItems

Non-null

Can the viewer pin repositories and gists to the profile?

viewerCanCreateProjects

Non-null

Can the current viewer create new projects on this owner.

viewerCanFollow

Non-null

Whether or not the viewer is able to follow the user.

viewerCanSponsor

Non-null

Whether or not the viewer is able to sponsor this user/organization.

viewerIsFollowing

Non-null

Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.

viewerIsSponsoring

Non-null

True if the viewer is sponsoring this user/organization.

watching

Non-null

A list of repositories the given user is watching.

websiteUrl

A URL pointing to the user's public website/blog.

Interfaces

#

Also implements Actor , Node , PackageOwner , ProfileOwner , ProjectOwner , ProjectV2Owner , ProjectV2Recent , RepositoryDiscussionAuthor , RepositoryDiscussionCommentAuthor , RepositoryOwner , Sponsorable , UniformResourceLocatable .

Usages

#

References

#