1. Packages
  2. Fivetran Provider
  3. API Docs
  4. getUsers
fivetran 1.6.3 published on Wednesday, Apr 23, 2025 by fivetran

fivetran.getUsers

Explore with Pulumi AI

fivetran 1.6.3 published on Wednesday, Apr 23, 2025 by fivetran

This data source returns a list of all users within your Fivetran account.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fivetran from "@pulumi/fivetran";

const users = fivetran.getUsers({});
Copy
import pulumi
import pulumi_fivetran as fivetran

users = fivetran.get_users()
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fivetran.GetUsers(ctx, &fivetran.GetUsersArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fivetran = Pulumi.Fivetran;

return await Deployment.RunAsync(() => 
{
    var users = Fivetran.GetUsers.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fivetran.FivetranFunctions;
import com.pulumi.fivetran.inputs.GetUsersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var users = FivetranFunctions.getUsers();

    }
}
Copy
variables:
  users:
    fn::invoke:
      function: fivetran:getUsers
      arguments: {}
Copy

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(args: GetUsersArgs, opts?: InvokeOptions): Promise<GetUsersResult>
function getUsersOutput(args: GetUsersOutputArgs, opts?: InvokeOptions): Output<GetUsersResult>
Copy
def get_users(id: Optional[str] = None,
              users: Optional[Sequence[GetUsersUser]] = None,
              opts: Optional[InvokeOptions] = None) -> GetUsersResult
def get_users_output(id: Optional[pulumi.Input[str]] = None,
              users: Optional[pulumi.Input[Sequence[pulumi.Input[GetUsersUserArgs]]]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetUsersResult]
Copy
func GetUsers(ctx *Context, args *GetUsersArgs, opts ...InvokeOption) (*GetUsersResult, error)
func GetUsersOutput(ctx *Context, args *GetUsersOutputArgs, opts ...InvokeOption) GetUsersResultOutput
Copy

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

public static class GetUsers 
{
    public static Task<GetUsersResult> InvokeAsync(GetUsersArgs args, InvokeOptions? opts = null)
    public static Output<GetUsersResult> Invoke(GetUsersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
public static Output<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fivetran:index/getUsers:getUsers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
The ID of this resource.
Users List<GetUsersUser>
Id string
The ID of this resource.
Users []GetUsersUser
id String
The ID of this resource.
users List<GetUsersUser>
id string
The ID of this resource.
users GetUsersUser[]
id str
The ID of this resource.
users Sequence[GetUsersUser]
id String
The ID of this resource.
users List<Property Map>

getUsers Result

The following output properties are available:

Id string
The ID of this resource.
Users List<GetUsersUser>
Id string
The ID of this resource.
Users []GetUsersUser
id String
The ID of this resource.
users List<GetUsersUser>
id string
The ID of this resource.
users GetUsersUser[]
id str
The ID of this resource.
users Sequence[GetUsersUser]
id String
The ID of this resource.
users List<Property Map>

Supporting Types

GetUsersUser

CreatedAt This property is required. string
The timestamp that the user created their Fivetran account
Email This property is required. string
The email address that the user has associated with their user profile.
FamilyName This property is required. string
The last name of the user.
GivenName This property is required. string
The first name of the user.
Id This property is required. string
The unique identifier for the user within your account.
Invited This property is required. bool
The field indicates whether the user has been invited to your account.
LoggedInAt This property is required. string
The last time that the user has logged into their Fivetran account.
Phone This property is required. string
The phone number of the user.
Picture This property is required. string
The user's avatar as a URL link (for example, 'http://mycompany.com/avatars/john_white.png') or base64 data URI (for example, 'data:image/png;base64,aHR0cDovL215Y29tcGFueS5jb20vYXZhdGFycy9qb2huX3doaXRlLnBuZw==')
Verified This property is required. bool
The field indicates whether the user has verified their email address in the account creation process.
CreatedAt This property is required. string
The timestamp that the user created their Fivetran account
Email This property is required. string
The email address that the user has associated with their user profile.
FamilyName This property is required. string
The last name of the user.
GivenName This property is required. string
The first name of the user.
Id This property is required. string
The unique identifier for the user within your account.
Invited This property is required. bool
The field indicates whether the user has been invited to your account.
LoggedInAt This property is required. string
The last time that the user has logged into their Fivetran account.
Phone This property is required. string
The phone number of the user.
Picture This property is required. string
The user's avatar as a URL link (for example, 'http://mycompany.com/avatars/john_white.png') or base64 data URI (for example, 'data:image/png;base64,aHR0cDovL215Y29tcGFueS5jb20vYXZhdGFycy9qb2huX3doaXRlLnBuZw==')
Verified This property is required. bool
The field indicates whether the user has verified their email address in the account creation process.
createdAt This property is required. String
The timestamp that the user created their Fivetran account
email This property is required. String
The email address that the user has associated with their user profile.
familyName This property is required. String
The last name of the user.
givenName This property is required. String
The first name of the user.
id This property is required. String
The unique identifier for the user within your account.
invited This property is required. Boolean
The field indicates whether the user has been invited to your account.
loggedInAt This property is required. String
The last time that the user has logged into their Fivetran account.
phone This property is required. String
The phone number of the user.
picture This property is required. String
The user's avatar as a URL link (for example, 'http://mycompany.com/avatars/john_white.png') or base64 data URI (for example, 'data:image/png;base64,aHR0cDovL215Y29tcGFueS5jb20vYXZhdGFycy9qb2huX3doaXRlLnBuZw==')
verified This property is required. Boolean
The field indicates whether the user has verified their email address in the account creation process.
createdAt This property is required. string
The timestamp that the user created their Fivetran account
email This property is required. string
The email address that the user has associated with their user profile.
familyName This property is required. string
The last name of the user.
givenName This property is required. string
The first name of the user.
id This property is required. string
The unique identifier for the user within your account.
invited This property is required. boolean
The field indicates whether the user has been invited to your account.
loggedInAt This property is required. string
The last time that the user has logged into their Fivetran account.
phone This property is required. string
The phone number of the user.
picture This property is required. string
The user's avatar as a URL link (for example, 'http://mycompany.com/avatars/john_white.png') or base64 data URI (for example, 'data:image/png;base64,aHR0cDovL215Y29tcGFueS5jb20vYXZhdGFycy9qb2huX3doaXRlLnBuZw==')
verified This property is required. boolean
The field indicates whether the user has verified their email address in the account creation process.
created_at This property is required. str
The timestamp that the user created their Fivetran account
email This property is required. str
The email address that the user has associated with their user profile.
family_name This property is required. str
The last name of the user.
given_name This property is required. str
The first name of the user.
id This property is required. str
The unique identifier for the user within your account.
invited This property is required. bool
The field indicates whether the user has been invited to your account.
logged_in_at This property is required. str
The last time that the user has logged into their Fivetran account.
phone This property is required. str
The phone number of the user.
picture This property is required. str
The user's avatar as a URL link (for example, 'http://mycompany.com/avatars/john_white.png') or base64 data URI (for example, 'data:image/png;base64,aHR0cDovL215Y29tcGFueS5jb20vYXZhdGFycy9qb2huX3doaXRlLnBuZw==')
verified This property is required. bool
The field indicates whether the user has verified their email address in the account creation process.
createdAt This property is required. String
The timestamp that the user created their Fivetran account
email This property is required. String
The email address that the user has associated with their user profile.
familyName This property is required. String
The last name of the user.
givenName This property is required. String
The first name of the user.
id This property is required. String
The unique identifier for the user within your account.
invited This property is required. Boolean
The field indicates whether the user has been invited to your account.
loggedInAt This property is required. String
The last time that the user has logged into their Fivetran account.
phone This property is required. String
The phone number of the user.
picture This property is required. String
The user's avatar as a URL link (for example, 'http://mycompany.com/avatars/john_white.png') or base64 data URI (for example, 'data:image/png;base64,aHR0cDovL215Y29tcGFueS5jb20vYXZhdGFycy9qb2huX3doaXRlLnBuZw==')
verified This property is required. Boolean
The field indicates whether the user has verified their email address in the account creation process.

Package Details

Repository
fivetran fivetran/terraform-provider-fivetran
License
Notes
This Pulumi package is based on the fivetran Terraform Provider.
fivetran 1.6.3 published on Wednesday, Apr 23, 2025 by fivetran