Viewing docs for incident.io v0.6.0
published on Tuesday, Nov 10, 2026 by incident-io
published on Tuesday, Nov 10, 2026 by incident-io
Viewing docs for incident.io v0.6.0
published on Tuesday, Nov 10, 2026 by incident-io
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 dictionarydata "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.
- Slack
User stringId - 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 stringId - 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_ stringid - 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 StringId - 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 stringId - 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_ strid - 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 StringId - 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.
- 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 stringId - 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 stringId - 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_ stringid - 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 Boolean - Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
- name String
- slack
User StringId - 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 boolean - Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
- name string
- slack
User stringId - 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_ strid - 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 Boolean - Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
- name String
- slack
User StringId - 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
incidentTerraform Provider.
Viewing docs for incident.io v0.6.0
published on Tuesday, Nov 10, 2026 by incident-io
published on Tuesday, Nov 10, 2026 by incident-io