1. Packages
  2. Aiven Provider
  3. API Docs
  4. getOrganizationUserList
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

aiven.getOrganizationUserList

Explore with Pulumi AI

aiven logo
Aiven v6.37.0 published on Thursday, Apr 10, 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,
                                   opts: Optional[InvokeOptions] = None) -> GetOrganizationUserListResult
    def get_organization_user_list_output(id: Optional[pulumi.Input[str]] = None,
                                   name: Optional[pulumi.Input[str]] = 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
    The ID of the organization.
    Name string
    The name of the organization.
    Id string
    The ID of the organization.
    Name string
    The name of the organization.
    id String
    The ID of the organization.
    name String
    The name of the organization.
    id string
    The ID of the organization.
    name string
    The name of the organization.
    id str
    The ID of the organization.
    name str
    The name of the organization.
    id String
    The ID of the organization.
    name String
    The name of the organization.

    getOrganizationUserList Result

    The following output properties are available:

    Users List<GetOrganizationUserListUser>
    List of the users, their profile information, and other data.
    Id string
    The ID of the organization.
    Name string
    The name of the organization.
    Users []GetOrganizationUserListUser
    List of the users, their profile information, and other data.
    Id string
    The ID of the organization.
    Name string
    The name of the organization.
    users List<GetOrganizationUserListUser>
    List of the users, their profile information, and other data.
    id String
    The ID of the organization.
    name String
    The name of the organization.
    users GetOrganizationUserListUser[]
    List of the users, their profile information, and other data.
    id string
    The ID of the organization.
    name string
    The name of the organization.
    users Sequence[GetOrganizationUserListUser]
    List of the users, their profile information, and other data.
    id str
    The ID of the organization.
    name str
    The name of the organization.
    users List<Property Map>
    List of the users, their profile information, and other data.
    id String
    The ID of the organization.
    name String
    The name of the organization.

    Supporting Types

    GetOrganizationUserListUser

    IsSuperAdmin bool
    Indicates whether the user is a super admin.
    JoinTime string
    Date and time when the user joined the organization.
    LastActivityTime string
    Last activity time.
    UserId string
    User ID.
    UserInfos List<GetOrganizationUserListUserUserInfo>
    IsSuperAdmin bool
    Indicates whether the user is a super admin.
    JoinTime string
    Date and time when the user joined the organization.
    LastActivityTime string
    Last activity time.
    UserId string
    User ID.
    UserInfos []GetOrganizationUserListUserUserInfo
    isSuperAdmin Boolean
    Indicates whether the user is a super admin.
    joinTime String
    Date and time when the user joined the organization.
    lastActivityTime String
    Last activity time.
    userId String
    User ID.
    userInfos List<GetOrganizationUserListUserUserInfo>
    isSuperAdmin boolean
    Indicates whether the user is a super admin.
    joinTime string
    Date and time when the user joined the organization.
    lastActivityTime string
    Last activity time.
    userId string
    User ID.
    userInfos GetOrganizationUserListUserUserInfo[]
    is_super_admin bool
    Indicates whether the user is a super admin.
    join_time str
    Date and time when the user joined the organization.
    last_activity_time str
    Last activity time.
    user_id str
    User ID.
    user_infos Sequence[GetOrganizationUserListUserUserInfo]
    isSuperAdmin Boolean
    Indicates whether the user is a super admin.
    joinTime String
    Date and time when the user joined the organization.
    lastActivityTime String
    Last activity time.
    userId String
    User ID.
    userInfos List<Property Map>

    GetOrganizationUserListUserUserInfo

    City string
    City
    Country string
    Country
    CreateTime string
    Date and time when the user was created.
    Department string
    Department
    IsApplicationUser bool
    Inidicates whether the user is an application user.
    JobTitle string
    Job title
    ManagedByScim bool
    Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
    ManagingOrganizationId string
    The ID of the organization that manages the user.
    RealName string
    Full name of the user.
    State string
    State
    UserEmail string
    Email address.
    City string
    City
    Country string
    Country
    CreateTime string
    Date and time when the user was created.
    Department string
    Department
    IsApplicationUser bool
    Inidicates whether the user is an application user.
    JobTitle string
    Job title
    ManagedByScim bool
    Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
    ManagingOrganizationId string
    The ID of the organization that manages the user.
    RealName string
    Full name of the user.
    State string
    State
    UserEmail string
    Email address.
    city String
    City
    country String
    Country
    createTime String
    Date and time when the user was created.
    department String
    Department
    isApplicationUser Boolean
    Inidicates whether the user is an application user.
    jobTitle String
    Job title
    managedByScim Boolean
    Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
    managingOrganizationId String
    The ID of the organization that manages the user.
    realName String
    Full name of the user.
    state String
    State
    userEmail String
    Email address.
    city string
    City
    country string
    Country
    createTime string
    Date and time when the user was created.
    department string
    Department
    isApplicationUser boolean
    Inidicates whether the user is an application user.
    jobTitle string
    Job title
    managedByScim boolean
    Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
    managingOrganizationId string
    The ID of the organization that manages the user.
    realName string
    Full name of the user.
    state string
    State
    userEmail string
    Email address.
    city str
    City
    country str
    Country
    create_time str
    Date and time when the user was created.
    department str
    Department
    is_application_user bool
    Inidicates whether the user is an application user.
    job_title str
    Job title
    managed_by_scim bool
    Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
    managing_organization_id str
    The ID of the organization that manages the user.
    real_name str
    Full name of the user.
    state str
    State
    user_email str
    Email address.
    city String
    City
    country String
    Country
    createTime String
    Date and time when the user was created.
    department String
    Department
    isApplicationUser Boolean
    Inidicates whether the user is an application user.
    jobTitle String
    Job title
    managedByScim Boolean
    Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
    managingOrganizationId String
    The ID of the organization that manages the user.
    realName String
    Full name of the user.
    state String
    State
    userEmail String
    Email address.

    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.37.0 published on Thursday, Apr 10, 2025 by Pulumi