GetCurrentlyAuthenticatedUser
Fetches comprehensive details about the currently authenticated GitHub user, including username and account preferences.
Result Set Columns
Name | Type | Description |
Id | String | The unique identifier (node ID) of the authenticated user. |
Login | String | The username of the authenticated user, used for login and identification. |
Bio | String | The public profile bio of the authenticated user, providing a brief personal or professional description. |
BioHTML | String | The HTML-formatted version of the user's public profile bio, suitable for display purposes. |
AvatarUrl | String | The URL pointing to the user's public avatar image. |
Name | String | The public profile name of the authenticated user, as displayed on their GitHub profile. |
Company | String | The user's publicly listed company or organization affiliation. |
CompanyHTML | String | The HTML-formatted version of the user's company information, suitable for display purposes. |
CreatedAt | Datetime | The date and time when the user's account was created, in ISO 8601 format. |
String | The publicly visible email address of the user, if available. | |
IsBountyHunter | Bool | Indicates whether the user participates in the GitHub Security Bug Bounty program. |
IsCampusExpert | Bool | Indicates whether the user is a member of the GitHub Campus Experts program. |
IsDeveloperProgramMember | Bool | Indicates whether the user is a participant in the GitHub Developer Program. |
IsEmployee | Bool | Indicates whether the user is an employee of GitHub. |
IsHireable | Bool | Indicates whether the user has marked themselves as available for hire. |
IsSiteAdmin | Bool | Indicates whether the user is a GitHub site administrator with elevated permissions. |
IsViewer | Bool | Indicates whether the authenticated user is the one currently viewing this information. |
Location | String | The geographic location specified in the user's public profile. |
PinnedItemsRemaining | Integer | The number of additional items the user can pin to their profile. |
ProjectsUrl | String | The HTTP URL that lists the user's projects on GitHub. |
ResourcePath | String | The relative HTTP path to the authenticated user's profile. |
TwitterUsername | String | The Twitter handle associated with the user's public profile, if provided. |
UpdatedAt | Datetime | The date and time when the user's profile was last updated, in ISO 8601 format. |
URL | String | The absolute HTTP URL to the user's profile on GitHub. |
ViewerCanChangePinnedItems | Bool | Indicates whether the current viewer can pin repositories and gists to the user's profile. |
ViewerCanCreateProjects | Bool | Indicates whether the current viewer can create new projects for this user. |
ViewerCanFollow | Bool | Indicates whether the current viewer has the ability to follow the user. |
ViewerIsFollowing | Bool | Indicates whether the current viewer is following this user. |
WebsiteUrl | String | A URL pointing to the user's public website or blog, if provided. |