harness.platform.getCurrentUser

Data source for retrieving the current user based on the API key.

Using getCurrentUser

function getCurrentUser(opts?: InvokeOptions): Promise<GetCurrentUserResult>
def get_current_user(opts: Optional[InvokeOptions] = None) -> GetCurrentUserResult
func GetCurrentUser(ctx *Context, opts ...InvokeOption) (*GetCurrentUserResult, error)

> Note: This function is named GetCurrentUser in the Go SDK.

public static class GetCurrentUser 
{
    public static Task<GetCurrentUserResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetCurrentUserResult> getCurrentUser(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: harness:platform/getCurrentUser:getCurrentUser
  arguments:
    # arguments dictionary

getCurrentUser Result

The following output properties are available:

Admin bool

Whether the user is an administrator.

BillingFrequency string

Billing frequency of the user.

DefaultAccountId string

Default account ID of the user.

Edition string

Edition of the platform being used.

Email string

Email address of the user.

EmailVerified bool

Whether the user's email address has been verified.

Id string

The provider-assigned unique ID for this managed resource.

Intent string

Intent of the user.

IsTwoFactorAuthEnabled bool

Whether 2FA is enabled for the user.

Locked bool

Whether or not the user account is locked.

Name string

Name of the user.

SignupAction string

Signup action of the user.

Token string

Token used to authenticate the user.

Uuid string

Unique identifier of the user.

Admin bool

Whether the user is an administrator.

BillingFrequency string

Billing frequency of the user.

DefaultAccountId string

Default account ID of the user.

Edition string

Edition of the platform being used.

Email string

Email address of the user.

EmailVerified bool

Whether the user's email address has been verified.

Id string

The provider-assigned unique ID for this managed resource.

Intent string

Intent of the user.

IsTwoFactorAuthEnabled bool

Whether 2FA is enabled for the user.

Locked bool

Whether or not the user account is locked.

Name string

Name of the user.

SignupAction string

Signup action of the user.

Token string

Token used to authenticate the user.

Uuid string

Unique identifier of the user.

admin Boolean

Whether the user is an administrator.

billingFrequency String

Billing frequency of the user.

defaultAccountId String

Default account ID of the user.

edition String

Edition of the platform being used.

email String

Email address of the user.

emailVerified Boolean

Whether the user's email address has been verified.

id String

The provider-assigned unique ID for this managed resource.

intent String

Intent of the user.

isTwoFactorAuthEnabled Boolean

Whether 2FA is enabled for the user.

locked Boolean

Whether or not the user account is locked.

name String

Name of the user.

signupAction String

Signup action of the user.

token String

Token used to authenticate the user.

uuid String

Unique identifier of the user.

admin boolean

Whether the user is an administrator.

billingFrequency string

Billing frequency of the user.

defaultAccountId string

Default account ID of the user.

edition string

Edition of the platform being used.

email string

Email address of the user.

emailVerified boolean

Whether the user's email address has been verified.

id string

The provider-assigned unique ID for this managed resource.

intent string

Intent of the user.

isTwoFactorAuthEnabled boolean

Whether 2FA is enabled for the user.

locked boolean

Whether or not the user account is locked.

name string

Name of the user.

signupAction string

Signup action of the user.

token string

Token used to authenticate the user.

uuid string

Unique identifier of the user.

admin bool

Whether the user is an administrator.

billing_frequency str

Billing frequency of the user.

default_account_id str

Default account ID of the user.

edition str

Edition of the platform being used.

email str

Email address of the user.

email_verified bool

Whether the user's email address has been verified.

id str

The provider-assigned unique ID for this managed resource.

intent str

Intent of the user.

is_two_factor_auth_enabled bool

Whether 2FA is enabled for the user.

locked bool

Whether or not the user account is locked.

name str

Name of the user.

signup_action str

Signup action of the user.

token str

Token used to authenticate the user.

uuid str

Unique identifier of the user.

admin Boolean

Whether the user is an administrator.

billingFrequency String

Billing frequency of the user.

defaultAccountId String

Default account ID of the user.

edition String

Edition of the platform being used.

email String

Email address of the user.

emailVerified Boolean

Whether the user's email address has been verified.

id String

The provider-assigned unique ID for this managed resource.

intent String

Intent of the user.

isTwoFactorAuthEnabled Boolean

Whether 2FA is enabled for the user.

locked Boolean

Whether or not the user account is locked.

name String

Name of the user.

signupAction String

Signup action of the user.

token String

Token used to authenticate the user.

uuid String

Unique identifier of the user.

Package Details

Repository
harness lbrlabs/pulumi-harness
License
Apache-2.0
Notes

This Pulumi package is based on the harness Terraform Provider.