1. Registry
  2. Packages
  3. incident.io
  4. API Docs
  5. getUser
Viewing docs for incident.io v0.6.0
published on Tuesday, Nov 10, 2026 by incident-io
incident logo incident.io
Viewing docs for incident.io v0.6.0
published on Tuesday, Nov 10, 2026 by incident-io

    View users.

    Users all have a single base role, and can be assigned multiple custom roles. They can be managed via your Slack workspace or SAML provider.

    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?: InvokeOutputOptions): Output<GetUserResult>
    def get_user(email: Optional[str] = None,
                 id: Optional[str] = None,
                 slack_user_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetUserResult
    def get_user_output(email: pulumi.Input[Optional[str]] = None,
                 id: pulumi.Input[Optional[str]] = None,
                 slack_user_id: pulumi.Input[Optional[str]] = None,
                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetUserResult]
    func GetUser(ctx *Context, args *GetUserArgs, opts ...InvokeOption) (*GetUserResult, error)
    func GetUserOutput(ctx *Context, args *GetUserOutputArgs, opts ...InvokeOption) GetUserResultOutput

    > Note: This function is named GetUser 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 Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
    public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
    public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: incident:index/getUser:getUser
      arguments:
        # arguments dictionary
    data "incident_get_user" "name" {
        # arguments
    }

    The following arguments are supported:

    Email string
    Look up the user by email address.
    Id string
    Look up the user by ID.
    SlackUserId string
    Look up the user by Slack user ID.
    Email string
    Look up the user by email address.
    Id string
    Look up the user by ID.
    SlackUserId string
    Look up the user by Slack user ID.
    email string
    Look up the user by email address.
    id string
    Look up the user by ID.
    slack_user_id string
    Look up the user by Slack user ID.
    email String
    Look up the user by email address.
    id String
    Look up the user by ID.
    slackUserId String
    Look up the user by Slack user ID.
    email string
    Look up the user by email address.
    id string
    Look up the user by ID.
    slackUserId string
    Look up the user by Slack user ID.
    email str
    Look up the user by email address.
    id str
    Look up the user by ID.
    slack_user_id str
    Look up the user by Slack user ID.
    email String
    Look up the user by email address.
    id String
    Look up the user by ID.
    slackUserId String
    Look up the user by Slack user ID.

    getUser Result

    The following output properties are available:

    Email string
    Look up the user by email address.
    Id string
    Look up the user by ID.
    IsActive bool
    Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
    Name string
    SlackUserId string
    Look up the user by Slack user ID.
    Email string
    Look up the user by email address.
    Id string
    Look up the user by ID.
    IsActive bool
    Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
    Name string
    SlackUserId string
    Look up the user by Slack user ID.
    email string
    Look up the user by email address.
    id string
    Look up the user by ID.
    is_active bool
    Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
    name string
    slack_user_id string
    Look up the user by Slack user ID.
    email String
    Look up the user by email address.
    id String
    Look up the user by ID.
    isActive Boolean
    Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
    name String
    slackUserId String
    Look up the user by Slack user ID.
    email string
    Look up the user by email address.
    id string
    Look up the user by ID.
    isActive boolean
    Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
    name string
    slackUserId string
    Look up the user by Slack user ID.
    email str
    Look up the user by email address.
    id str
    Look up the user by ID.
    is_active bool
    Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
    name str
    slack_user_id str
    Look up the user by Slack user ID.
    email String
    Look up the user by email address.
    id String
    Look up the user by ID.
    isActive Boolean
    Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
    name String
    slackUserId String
    Look up the user by Slack user ID.

    Package Details

    Repository
    incident incident-io/pulumi-incident
    License
    MIT
    Notes
    This Pulumi package is based on the incident Terraform Provider.
    incident logo incident.io
    Viewing docs for incident.io v0.6.0
    published on Tuesday, Nov 10, 2026 by incident-io

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial