1. Registry
  2. Packages
  3. Formal Provider
  4. API Docs
  5. getUsers
Viewing docs for Formal v1.2.11
published on Thursday, Nov 19, 2026 by Formal
formal logo Formal
Viewing docs for Formal v1.2.11
published on Thursday, Nov 19, 2026 by Formal

    Data source for listing all Users in Formal.

    Using getUsers

    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 getUsers(opts?: InvokeOptions): Promise<GetUsersResult>
    function getUsersOutput(opts?: InvokeOutputOptions): Output<GetUsersResult>
    def get_users(opts: Optional[InvokeOptions] = None) -> GetUsersResult
    def get_users_output(opts: Optional[InvokeOutputOptions] = None) -> Output[GetUsersResult]
    func GetUsers(ctx *Context, opts ...InvokeOption) (*GetUsersResult, error)
    func GetUsersOutput(ctx *Context, opts ...InvokeOption) GetUsersResultOutput

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

    public static class GetUsers 
    {
        public static Task<GetUsersResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetUsersResult> Invoke(InvokeOptions? opts = null)
        public static Output<GetUsersResult> Invoke(InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetUsersResult> getUsers(InvokeOptions options)
    public static Output<GetUsersResult> getUsers(InvokeOptions options)
    public static Output<GetUsersResult> getUsers(InvokeOutputOptions options)
    
    fn::invoke:
      function: formal:index/getUsers:getUsers
      arguments:
        # arguments dictionary
    data "formal_get_users" "name" {
        # arguments
    }

    getUsers Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Users List<Formal.Pulumi.Outputs.GetUsersUser>
    All Users in Formal.
    Id string
    The provider-assigned unique ID for this managed resource.
    Users []GetUsersUser
    All Users in Formal.
    id string
    The provider-assigned unique ID for this managed resource.
    users list(object)
    All Users in Formal.
    id String
    The provider-assigned unique ID for this managed resource.
    users List<GetUsersUser>
    All Users in Formal.
    id string
    The provider-assigned unique ID for this managed resource.
    users GetUsersUser[]
    All Users in Formal.
    id str
    The provider-assigned unique ID for this managed resource.
    users Sequence[GetUsersUser]
    All Users in Formal.
    id String
    The provider-assigned unique ID for this managed resource.
    users List<Property Map>
    All Users in Formal.

    Supporting Types

    GetUsersUser

    DbUsername string
    The identity the User uses to access Formal.
    Email string
    The email of this User. Only set for human users.
    FirstName string
    The first name of this User. Only set for human users.
    FullName string
    The full name of this User.
    GroupIds List<string>
    The IDs of the Groups this User belongs to.
    Id string
    The ID of the User.
    LastName string
    The last name of this User. Only set for human users.
    TerminationProtection bool
    If set to true, this User cannot be deleted.
    Type string
    The type of this User, either human or machine.
    DbUsername string
    The identity the User uses to access Formal.
    Email string
    The email of this User. Only set for human users.
    FirstName string
    The first name of this User. Only set for human users.
    FullName string
    The full name of this User.
    GroupIds []string
    The IDs of the Groups this User belongs to.
    Id string
    The ID of the User.
    LastName string
    The last name of this User. Only set for human users.
    TerminationProtection bool
    If set to true, this User cannot be deleted.
    Type string
    The type of this User, either human or machine.
    db_username string
    The identity the User uses to access Formal.
    email string
    The email of this User. Only set for human users.
    first_name string
    The first name of this User. Only set for human users.
    full_name string
    The full name of this User.
    group_ids list(string)
    The IDs of the Groups this User belongs to.
    id string
    The ID of the User.
    last_name string
    The last name of this User. Only set for human users.
    termination_protection bool
    If set to true, this User cannot be deleted.
    type string
    The type of this User, either human or machine.
    dbUsername String
    The identity the User uses to access Formal.
    email String
    The email of this User. Only set for human users.
    firstName String
    The first name of this User. Only set for human users.
    fullName String
    The full name of this User.
    groupIds List<String>
    The IDs of the Groups this User belongs to.
    id String
    The ID of the User.
    lastName String
    The last name of this User. Only set for human users.
    terminationProtection Boolean
    If set to true, this User cannot be deleted.
    type String
    The type of this User, either human or machine.
    dbUsername string
    The identity the User uses to access Formal.
    email string
    The email of this User. Only set for human users.
    firstName string
    The first name of this User. Only set for human users.
    fullName string
    The full name of this User.
    groupIds string[]
    The IDs of the Groups this User belongs to.
    id string
    The ID of the User.
    lastName string
    The last name of this User. Only set for human users.
    terminationProtection boolean
    If set to true, this User cannot be deleted.
    type string
    The type of this User, either human or machine.
    db_username str
    The identity the User uses to access Formal.
    email str
    The email of this User. Only set for human users.
    first_name str
    The first name of this User. Only set for human users.
    full_name str
    The full name of this User.
    group_ids Sequence[str]
    The IDs of the Groups this User belongs to.
    id str
    The ID of the User.
    last_name str
    The last name of this User. Only set for human users.
    termination_protection bool
    If set to true, this User cannot be deleted.
    type str
    The type of this User, either human or machine.
    dbUsername String
    The identity the User uses to access Formal.
    email String
    The email of this User. Only set for human users.
    firstName String
    The first name of this User. Only set for human users.
    fullName String
    The full name of this User.
    groupIds List<String>
    The IDs of the Groups this User belongs to.
    id String
    The ID of the User.
    lastName String
    The last name of this User. Only set for human users.
    terminationProtection Boolean
    If set to true, this User cannot be deleted.
    type String
    The type of this User, either human or machine.

    Package Details

    Repository
    formal formalco/pulumi-formal
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the formal Terraform Provider.
    formal logo Formal
    Viewing docs for Formal v1.2.11
    published on Thursday, Nov 19, 2026 by Formal

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial