GetCurrentlyAuthenticatedUser
Retrieves information about the currently authenticated user in the context of a GitHub project, including roles and permissions.
Result Set Columns
Name | Type | Description |
Id | String | A unique identifier for the user, used internally by GitHub. |
Login | String | The username associated with the user's GitHub account, used for login and identification. |
Bio | String | The user's public profile biography, providing a brief personal description. |
BioHTML | String | The user's public profile biography formatted as HTML for display purposes. |
AvatarUrl | String | A URL pointing to the user's public avatar image, often used in profiles and comments. |
Name | String | The full name associated with the user's public GitHub profile. |
Company | String | The user's public profile company or organization, as provided by the user. |
CompanyHTML | String | The user's public profile company formatted as HTML, suitable for rendering in web pages. |
CreatedAt | Datetime | The date and time when the user's GitHub account was created. |
String | The user's public email address, visible if they have made it publicly available. | |
IsBountyHunter | Bool | Indicates whether the user is a participant in the GitHub Security Bug Bounty program. |
IsCampusExpert | Bool | Indicates whether the user is a participant in the GitHub Campus Experts Program. |
IsDeveloperProgramMember | Bool | Indicates whether the user is a member of 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 hiring opportunities. |
IsSiteAdmin | Bool | Indicates whether the user has administrative privileges on GitHub. |
IsViewer | Bool | Indicates whether the user is the currently authenticated viewer. |
Location | String | The location information provided in the user's public profile, such as city or country. |
PinnedItemsRemaining | Integer | The number of additional items this user can pin to their GitHub profile. |
ProjectsUrl | String | The HTTP URL where the user's projects are listed. |
ResourcePath | String | The HTTP path for accessing the user's GitHub profile. |
TwitterUsername | String | The user's Twitter username, as provided on their GitHub profile. |
UpdatedAt | Datetime | The date and time when the user's profile or information was last updated. |
URL | String | The HTTP URL of the user's GitHub profile. |
ViewerCanChangePinnedItems | Bool | Indicates whether the current viewer can modify the pinned items on this user's profile. |
ViewerCanCreateProjects | Bool | Indicates whether the current viewer has permission to create new projects for this user. |
ViewerCanFollow | Bool | Indicates whether the current viewer has the ability to follow this user. |
ViewerIsFollowing | Bool | Indicates whether this user is currently followed by the viewer. |
WebsiteUrl | String | A URL pointing to the user's public website or blog, if provided. |