@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [: Promise<GetCurrentUserResult>;
export interface GetCurrentUserArgs {
}
export interface GetCurrentUserResult {
/**
* URL of the user's avatar image.
*/
readonly avatarUrl: string;
/**
* The user's email address.
*/
readonly email: string;
/**
* The user's display name.
*/
readonly name: string;
/**
* The user's Pulumi Cloud username.
*/
readonly username: string;
}
/**
* Returns the Pulumi Cloud user that the provider's access token belongs to. Useful for seeding a newly-created `Team` with the creator as a member, since Pulumi Cloud auto-adds the creator. Omitting this user from the team will result in a refresh drift.
*/
export declare function getCurrentUserOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCurrentUserResult>;
//# sourceMappingURL=getCurrentUser.d.ts.map