import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve all organization memberships for a specific Auth0 user (EA only). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myUserOrganizations = auth0.getUserOrganizations({ * userId: "auth0|XXXXX", * }); * ``` */ export declare function getUserOrganizations(args: GetUserOrganizationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUserOrganizations. */ export interface GetUserOrganizationsArgs { /** * The ID of the user to retrieve the organization memberships for. */ userId: string; } /** * A collection of values returned by getUserOrganizations. */ export interface GetUserOrganizationsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of organizations the user is a member of. */ readonly organizations: outputs.GetUserOrganizationsOrganization[]; /** * The ID of the user to retrieve the organization memberships for. */ readonly userId: string; } /** * Data source to retrieve all organization memberships for a specific Auth0 user (EA only). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myUserOrganizations = auth0.getUserOrganizations({ * userId: "auth0|XXXXX", * }); * ``` */ export declare function getUserOrganizationsOutput(args: GetUserOrganizationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUserOrganizations. */ export interface GetUserOrganizationsOutputArgs { /** * The ID of the user to retrieve the organization memberships for. */ userId: pulumi.Input; } //# sourceMappingURL=getUserOrganizations.d.ts.map