User Object
A user is an individual's account on GitHub that owns repositories and can make new content.
Fields
#
anyPinnableItems
Determine if this repository owner has any items that can be pinned to their profile.
canReceiveOrganizationEmailsWhenNotificationsRestricted
Could this user receive email notifications, if the organization had notification restrictions enabled?
contributionsCollection
The collection of contributions this user has made to different repositories.
estimatedNextSponsorsPayoutInCents
The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
isBountyHunter
Whether or not this user is a participant in the GitHub Security Bug Bounty.
isCampusExpert
Whether or not this user is a participant in the GitHub Campus Experts Program.
isDeveloperProgramMember
Whether or not this user is a GitHub Developer Program member.
isFollowingViewer
Whether or not this user is following the viewer. Inverse of viewerIsFollowing
itemShowcase
Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
lifetimeReceivedSponsorshipValues
Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon.
monthlyEstimatedSponsorsIncomeInCents
The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
organizationVerifiedDomainEmails
Verified email addresses that match verified domains for a specified organization the user is a member of.
pinnableItems
A list of repositories and gists this profile owner can pin to their profile.
pinnedItems
A list of repositories and gists this profile owner has pinned to their profile
pinnedItemsRemaining
Returns how many more items this profile owner can pin to their profile.
recentProjects
Recent projects that this user has modified in the context of the owner.
repositoriesContributedTo
A list of repositories that the user recently contributed to.
repositoryDiscussionComments
Discussion comments this user has authored.
socialAccounts
The user's social media accounts, ordered as they appear on the user's profile.
sponsorsActivities
Events involving this sponsorable, such as new sponsorships.
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
List of sponsorship updates sent from this sponsorable to sponsors.
sponsorshipsAsMaintainer
The sponsorships where this user or organization is the maintainer receiving the funds.
sponsorshipsAsSponsor
The sponsorships where this user or organization is the funder.
topRepositories
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.
viewerCanChangePinnedItems
Can the viewer pin repositories and gists to the profile?
viewerCanCreateProjects
Can the current viewer create new projects on this owner.
viewerCanSponsor
Whether or not the viewer is able to sponsor this user/organization.
viewerIsFollowing
Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.
Interfaces
#
Also implements Actor , Node , PackageOwner , ProfileOwner , ProjectOwner , ProjectV2Owner , ProjectV2Recent , RepositoryDiscussionAuthor , RepositoryDiscussionCommentAuthor , RepositoryOwner , Sponsorable , UniformResourceLocatable .
Usages
#
References
#
- Field users from AddEnterpriseOrganizationMemberPayload
- Field enqueuer from AddedToMergeQueueEvent
- Field user from AssignedEvent
UpdateUserListsForItemPayload
UserBlockDuration
