1. Packages
  2. Harness
  3. API Docs
  4. getUser
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.getUser

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Data source for retrieving a Harness user

    Using getUser

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
    function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
    def get_user(email: Optional[str] = None,
                 id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetUserResult
    def get_user_output(email: Optional[pulumi.Input[str]] = None,
                 id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
    func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
    func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput

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

    public static class GetUser 
    {
        public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
        public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:index/getUser:getUser
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Email string
    The email of the user.
    Id string
    Unique identifier of the user
    Email string
    The email of the user.
    Id string
    Unique identifier of the user
    email String
    The email of the user.
    id String
    Unique identifier of the user
    email string
    The email of the user.
    id string
    Unique identifier of the user
    email str
    The email of the user.
    id str
    Unique identifier of the user
    email String
    The email of the user.
    id String
    Unique identifier of the user

    getUser Result

    The following output properties are available:

    IsEmailVerified bool
    Flag indicating whether or not the users email has been verified.
    IsImportedFromIdentityProvider bool
    Flag indicating whether or not the user was imported from an identity provider.
    IsPasswordExpired bool
    Flag indicating whether or not the users password has expired.
    IsTwoFactorAuthEnabled bool
    Flag indicating whether or not two-factor authentication is enabled for the user.
    IsUserLocked bool
    Flag indicating whether or not the user is locked out.
    Name string
    The name of the user.
    Email string
    The email of the user.
    Id string
    Unique identifier of the user
    IsEmailVerified bool
    Flag indicating whether or not the users email has been verified.
    IsImportedFromIdentityProvider bool
    Flag indicating whether or not the user was imported from an identity provider.
    IsPasswordExpired bool
    Flag indicating whether or not the users password has expired.
    IsTwoFactorAuthEnabled bool
    Flag indicating whether or not two-factor authentication is enabled for the user.
    IsUserLocked bool
    Flag indicating whether or not the user is locked out.
    Name string
    The name of the user.
    Email string
    The email of the user.
    Id string
    Unique identifier of the user
    isEmailVerified Boolean
    Flag indicating whether or not the users email has been verified.
    isImportedFromIdentityProvider Boolean
    Flag indicating whether or not the user was imported from an identity provider.
    isPasswordExpired Boolean
    Flag indicating whether or not the users password has expired.
    isTwoFactorAuthEnabled Boolean
    Flag indicating whether or not two-factor authentication is enabled for the user.
    isUserLocked Boolean
    Flag indicating whether or not the user is locked out.
    name String
    The name of the user.
    email String
    The email of the user.
    id String
    Unique identifier of the user
    isEmailVerified boolean
    Flag indicating whether or not the users email has been verified.
    isImportedFromIdentityProvider boolean
    Flag indicating whether or not the user was imported from an identity provider.
    isPasswordExpired boolean
    Flag indicating whether or not the users password has expired.
    isTwoFactorAuthEnabled boolean
    Flag indicating whether or not two-factor authentication is enabled for the user.
    isUserLocked boolean
    Flag indicating whether or not the user is locked out.
    name string
    The name of the user.
    email string
    The email of the user.
    id string
    Unique identifier of the user
    is_email_verified bool
    Flag indicating whether or not the users email has been verified.
    is_imported_from_identity_provider bool
    Flag indicating whether or not the user was imported from an identity provider.
    is_password_expired bool
    Flag indicating whether or not the users password has expired.
    is_two_factor_auth_enabled bool
    Flag indicating whether or not two-factor authentication is enabled for the user.
    is_user_locked bool
    Flag indicating whether or not the user is locked out.
    name str
    The name of the user.
    email str
    The email of the user.
    id str
    Unique identifier of the user
    isEmailVerified Boolean
    Flag indicating whether or not the users email has been verified.
    isImportedFromIdentityProvider Boolean
    Flag indicating whether or not the user was imported from an identity provider.
    isPasswordExpired Boolean
    Flag indicating whether or not the users password has expired.
    isTwoFactorAuthEnabled Boolean
    Flag indicating whether or not two-factor authentication is enabled for the user.
    isUserLocked Boolean
    Flag indicating whether or not the user is locked out.
    name String
    The name of the user.
    email String
    The email of the user.
    id 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.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs