Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
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)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: harness:index/getUser:getUser
arguments:
# arguments dictionaryThe following arguments are supported:
getUser Result
The following output properties are available:
- Is
Email boolVerified - Flag indicating whether or not the users email has been verified.
- Is
Imported boolFrom Identity Provider - Flag indicating whether or not the user was imported from an identity provider.
- Is
Password boolExpired - Flag indicating whether or not the users password has expired.
- Is
Two boolFactor Auth Enabled - Flag indicating whether or not two-factor authentication is enabled for the user.
- Is
User boolLocked - 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 boolVerified - Flag indicating whether or not the users email has been verified.
- Is
Imported boolFrom Identity Provider - Flag indicating whether or not the user was imported from an identity provider.
- Is
Password boolExpired - Flag indicating whether or not the users password has expired.
- Is
Two boolFactor Auth Enabled - Flag indicating whether or not two-factor authentication is enabled for the user.
- Is
User boolLocked - 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 BooleanVerified - Flag indicating whether or not the users email has been verified.
- is
Imported BooleanFrom Identity Provider - Flag indicating whether or not the user was imported from an identity provider.
- is
Password BooleanExpired - Flag indicating whether or not the users password has expired.
- is
Two BooleanFactor Auth Enabled - Flag indicating whether or not two-factor authentication is enabled for the user.
- is
User BooleanLocked - 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 booleanVerified - Flag indicating whether or not the users email has been verified.
- is
Imported booleanFrom Identity Provider - Flag indicating whether or not the user was imported from an identity provider.
- is
Password booleanExpired - Flag indicating whether or not the users password has expired.
- is
Two booleanFactor Auth Enabled - Flag indicating whether or not two-factor authentication is enabled for the user.
- is
User booleanLocked - 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_ boolverified - Flag indicating whether or not the users email has been verified.
- is_
imported_ boolfrom_ identity_ provider - Flag indicating whether or not the user was imported from an identity provider.
- is_
password_ boolexpired - Flag indicating whether or not the users password has expired.
- is_
two_ boolfactor_ auth_ enabled - Flag indicating whether or not two-factor authentication is enabled for the user.
- is_
user_ boollocked - 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
- is
Email BooleanVerified - Flag indicating whether or not the users email has been verified.
- is
Imported BooleanFrom Identity Provider - Flag indicating whether or not the user was imported from an identity provider.
- is
Password BooleanExpired - Flag indicating whether or not the users password has expired.
- is
Two BooleanFactor Auth Enabled - Flag indicating whether or not two-factor authentication is enabled for the user.
- is
User BooleanLocked - 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 pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
