GetCurrentlyAuthenticatedUser
Retrieves details of the currently authenticated user, such as account settings and roles within the repository.
Sample
EXECUTE [Project].[GetCurrentlyAuthenticatedUser]
Result Set Columns
| Name | Type | Description |
| Id | String | The unique identifier assigned to the user. |
| Login | String | The username used by the user to login to GitHub. |
| Bio | String | The public profile bio of the user. |
| BioHTML | String | The HTML version of the user's public profile bio. |
| AvatarUrl | String | A URL pointing to the user's public avatar image. |
| Name | String | The public profile name of the user. |
| Company | String | The company listed in the user's public profile. |
| CompanyHTML | String | The HTML version of the user's public company profile. |
| CreatedAt | Datetime | The date and time when the user object was created. |
| String | The publicly visible email address of the user. | |
| 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 a GitHub employee. |
| IsHireable | Bool | Indicates whether the user has marked themselves as available for hire. |
| IsSiteAdmin | Bool | Indicates whether the user is a site administrator. |
| IsViewer | Bool | Indicates whether the current user is the viewer themselves. |
| Location | String | The public profile location of the user. |
| PinnedItemsRemaining | Integer | Indicates how many more items the user can pin to their profile. |
| ProjectsUrl | String | The HTTP URL listing the user's projects. |
| ResourcePath | String | The HTTP path for accessing the user's profile. |
| TwitterUsername | String | The username of the user on Twitter. |
| UpdatedAt | Datetime | The date and time when the user's profile was last updated. |
| URL | String | The HTTP URL for the user's GitHub profile. |
| ViewerCanChangePinnedItems | Bool | Indicates whether the viewer can pin repositories and gists to the user's profile. |
| ViewerCanCreateProjects | Bool | Indicates whether the viewer can create new projects for this user. |
| ViewerCanFollow | Bool | Indicates whether the viewer can follow the user. |
| ViewerIsFollowing | Bool | Indicates whether the viewer is currently following this user. |
| WebsiteUrl | String | The URL pointing to the user's public website or blog. |