1. Packages
  2. Aiven Provider
  3. API Docs
  4. getOrganizationUserList
Aiven v6.46.0 published on Friday, Dec 19, 2025 by Pulumi
aiven logo
Aiven v6.46.0 published on Friday, Dec 19, 2025 by Pulumi

    Returns a list of users in the organization, their profile details, and other data . This includes users you add to your organization and application users.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const users = aiven.getOrganizationUserList({
        name: "Example organization",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    users = aiven.get_organization_user_list(name="Example organization")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.GetOrganizationUserList(ctx, &aiven.GetOrganizationUserListArgs{
    			Name: pulumi.StringRef("Example organization"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        var users = Aiven.GetOrganizationUserList.Invoke(new()
        {
            Name = "Example organization",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.AivenFunctions;
    import com.pulumi.aiven.inputs.GetOrganizationUserListArgs;
    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 = AivenFunctions.getOrganizationUserList(GetOrganizationUserListArgs.builder()
                .name("Example organization")
                .build());
    
        }
    }
    
    variables:
      users:
        fn::invoke:
          function: aiven:getOrganizationUserList
          arguments:
            name: Example organization
    

    Using getOrganizationUserList

    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 getOrganizationUserList(args: GetOrganizationUserListArgs, opts?: InvokeOptions): Promise<GetOrganizationUserListResult>
    function getOrganizationUserListOutput(args: GetOrganizationUserListOutputArgs, opts?: InvokeOptions): Output<GetOrganizationUserListResult>
    def get_organization_user_list(id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   timeouts: Optional[GetOrganizationUserListTimeouts] = None,
                                   users: Optional[Sequence[GetOrganizationUserListUser]] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetOrganizationUserListResult
    def get_organization_user_list_output(id: Optional[pulumi.Input[str]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   timeouts: Optional[pulumi.Input[GetOrganizationUserListTimeoutsArgs]] = None,
                                   users: Optional[pulumi.Input[Sequence[pulumi.Input[GetOrganizationUserListUserArgs]]]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationUserListResult]
    func GetOrganizationUserList(ctx *Context, args *GetOrganizationUserListArgs, opts ...InvokeOption) (*GetOrganizationUserListResult, error)
    func GetOrganizationUserListOutput(ctx *Context, args *GetOrganizationUserListOutputArgs, opts ...InvokeOption) GetOrganizationUserListResultOutput

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

    public static class GetOrganizationUserList 
    {
        public static Task<GetOrganizationUserListResult> InvokeAsync(GetOrganizationUserListArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationUserListResult> Invoke(GetOrganizationUserListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationUserListResult> getOrganizationUserList(GetOrganizationUserListArgs args, InvokeOptions options)
    public static Output<GetOrganizationUserListResult> getOrganizationUserList(GetOrganizationUserListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aiven:index/getOrganizationUserList:getOrganizationUserList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ID of an organization. Exactly one of the fields must be specified: id or name.
    Name string
    The name of the organization. Exactly one of the fields must be specified: id or name.
    Timeouts GetOrganizationUserListTimeouts
    Users List<GetOrganizationUserListUser>
    List of users of the organization.
    Id string
    ID of an organization. Exactly one of the fields must be specified: id or name.
    Name string
    The name of the organization. Exactly one of the fields must be specified: id or name.
    Timeouts GetOrganizationUserListTimeouts
    Users []GetOrganizationUserListUser
    List of users of the organization.
    id String
    ID of an organization. Exactly one of the fields must be specified: id or name.
    name String
    The name of the organization. Exactly one of the fields must be specified: id or name.
    timeouts GetOrganizationUserListTimeouts
    users List<GetOrganizationUserListUser>
    List of users of the organization.
    id string
    ID of an organization. Exactly one of the fields must be specified: id or name.
    name string
    The name of the organization. Exactly one of the fields must be specified: id or name.
    timeouts GetOrganizationUserListTimeouts
    users GetOrganizationUserListUser[]
    List of users of the organization.
    id str
    ID of an organization. Exactly one of the fields must be specified: id or name.
    name str
    The name of the organization. Exactly one of the fields must be specified: id or name.
    timeouts GetOrganizationUserListTimeouts
    users Sequence[GetOrganizationUserListUser]
    List of users of the organization.
    id String
    ID of an organization. Exactly one of the fields must be specified: id or name.
    name String
    The name of the organization. Exactly one of the fields must be specified: id or name.
    timeouts Property Map
    users List<Property Map>
    List of users of the organization.

    getOrganizationUserList Result

    The following output properties are available:

    Id string
    ID of an organization. Exactly one of the fields must be specified: id or name.
    Name string
    The name of the organization. Exactly one of the fields must be specified: id or name.
    Timeouts GetOrganizationUserListTimeouts
    Users List<GetOrganizationUserListUser>
    List of users of the organization.
    Id string
    ID of an organization. Exactly one of the fields must be specified: id or name.
    Name string
    The name of the organization. Exactly one of the fields must be specified: id or name.
    Timeouts GetOrganizationUserListTimeouts
    Users []GetOrganizationUserListUser
    List of users of the organization.
    id String
    ID of an organization. Exactly one of the fields must be specified: id or name.
    name String
    The name of the organization. Exactly one of the fields must be specified: id or name.
    timeouts GetOrganizationUserListTimeouts
    users List<GetOrganizationUserListUser>
    List of users of the organization.
    id string
    ID of an organization. Exactly one of the fields must be specified: id or name.
    name string
    The name of the organization. Exactly one of the fields must be specified: id or name.
    timeouts GetOrganizationUserListTimeouts
    users GetOrganizationUserListUser[]
    List of users of the organization.
    id str
    ID of an organization. Exactly one of the fields must be specified: id or name.
    name str
    The name of the organization. Exactly one of the fields must be specified: id or name.
    timeouts GetOrganizationUserListTimeouts
    users Sequence[GetOrganizationUserListUser]
    List of users of the organization.
    id String
    ID of an organization. Exactly one of the fields must be specified: id or name.
    name String
    The name of the organization. Exactly one of the fields must be specified: id or name.
    timeouts Property Map
    users List<Property Map>
    List of users of the organization.

    Supporting Types

    GetOrganizationUserListTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    GetOrganizationUserListUser

    IsSuperAdmin bool
    Super admin state of the organization user.
    JoinTime string
    Join time.
    LastActivityTime string
    Last activity time.
    UserId string
    User ID.
    UserInfos List<GetOrganizationUserListUserUserInfo>
    OrganizationUserInfo.
    IsSuperAdmin bool
    Super admin state of the organization user.
    JoinTime string
    Join time.
    LastActivityTime string
    Last activity time.
    UserId string
    User ID.
    UserInfos []GetOrganizationUserListUserUserInfo
    OrganizationUserInfo.
    isSuperAdmin Boolean
    Super admin state of the organization user.
    joinTime String
    Join time.
    lastActivityTime String
    Last activity time.
    userId String
    User ID.
    userInfos List<GetOrganizationUserListUserUserInfo>
    OrganizationUserInfo.
    isSuperAdmin boolean
    Super admin state of the organization user.
    joinTime string
    Join time.
    lastActivityTime string
    Last activity time.
    userId string
    User ID.
    userInfos GetOrganizationUserListUserUserInfo[]
    OrganizationUserInfo.
    is_super_admin bool
    Super admin state of the organization user.
    join_time str
    Join time.
    last_activity_time str
    Last activity time.
    user_id str
    User ID.
    user_infos Sequence[GetOrganizationUserListUserUserInfo]
    OrganizationUserInfo.
    isSuperAdmin Boolean
    Super admin state of the organization user.
    joinTime String
    Join time.
    lastActivityTime String
    Last activity time.
    userId String
    User ID.
    userInfos List<Property Map>
    OrganizationUserInfo.

    GetOrganizationUserListUserUserInfo

    City string
    City.
    Country string
    Country.
    CreateTime string
    Creation time.
    Department string
    Department.
    IsApplicationUser bool
    Is Application User.
    JobTitle string
    Job Title.
    ManagedByScim bool
    Managed By Scim.
    ManagingOrganizationId string
    Managing Organization ID.
    RealName string
    Real Name.
    State string
    State.
    UserEmail string
    User Email.
    City string
    City.
    Country string
    Country.
    CreateTime string
    Creation time.
    Department string
    Department.
    IsApplicationUser bool
    Is Application User.
    JobTitle string
    Job Title.
    ManagedByScim bool
    Managed By Scim.
    ManagingOrganizationId string
    Managing Organization ID.
    RealName string
    Real Name.
    State string
    State.
    UserEmail string
    User Email.
    city String
    City.
    country String
    Country.
    createTime String
    Creation time.
    department String
    Department.
    isApplicationUser Boolean
    Is Application User.
    jobTitle String
    Job Title.
    managedByScim Boolean
    Managed By Scim.
    managingOrganizationId String
    Managing Organization ID.
    realName String
    Real Name.
    state String
    State.
    userEmail String
    User Email.
    city string
    City.
    country string
    Country.
    createTime string
    Creation time.
    department string
    Department.
    isApplicationUser boolean
    Is Application User.
    jobTitle string
    Job Title.
    managedByScim boolean
    Managed By Scim.
    managingOrganizationId string
    Managing Organization ID.
    realName string
    Real Name.
    state string
    State.
    userEmail string
    User Email.
    city str
    City.
    country str
    Country.
    create_time str
    Creation time.
    department str
    Department.
    is_application_user bool
    Is Application User.
    job_title str
    Job Title.
    managed_by_scim bool
    Managed By Scim.
    managing_organization_id str
    Managing Organization ID.
    real_name str
    Real Name.
    state str
    State.
    user_email str
    User Email.
    city String
    City.
    country String
    Country.
    createTime String
    Creation time.
    department String
    Department.
    isApplicationUser Boolean
    Is Application User.
    jobTitle String
    Job Title.
    managedByScim Boolean
    Managed By Scim.
    managingOrganizationId String
    Managing Organization ID.
    realName String
    Real Name.
    state String
    State.
    userEmail String
    User Email.

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Aiven v6.46.0 published on Friday, Dec 19, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate