Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi
aiven.getOrganizationUserList
Explore with Pulumi AI
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 dictionaryThe following arguments are supported:
getOrganizationUserList Result
The following output properties are available:
- Users
List<GetOrganization User List User> 
- 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
[]GetOrganization User List User 
- 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<GetOrganization User List User> 
- 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
GetOrganization User List User[] 
- 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[GetOrganization User List User] 
- 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    
- IsSuper boolAdmin 
- Indicates whether the user is a super admin.
- JoinTime string
- Date and time when the user joined the organization.
- LastActivity stringTime 
- Last activity time.
- UserId string
- User ID.
- UserInfos List<GetOrganization User List User User Info> 
- IsSuper boolAdmin 
- Indicates whether the user is a super admin.
- JoinTime string
- Date and time when the user joined the organization.
- LastActivity stringTime 
- Last activity time.
- UserId string
- User ID.
- UserInfos []GetOrganization User List User User Info 
- isSuper BooleanAdmin 
- Indicates whether the user is a super admin.
- joinTime String
- Date and time when the user joined the organization.
- lastActivity StringTime 
- Last activity time.
- userId String
- User ID.
- userInfos List<GetOrganization User List User User Info> 
- isSuper booleanAdmin 
- Indicates whether the user is a super admin.
- joinTime string
- Date and time when the user joined the organization.
- lastActivity stringTime 
- Last activity time.
- userId string
- User ID.
- userInfos GetOrganization User List User User Info[] 
- is_super_ booladmin 
- Indicates whether the user is a super admin.
- join_time str
- Date and time when the user joined the organization.
- last_activity_ strtime 
- Last activity time.
- user_id str
- User ID.
- user_infos Sequence[GetOrganization User List User User Info] 
- isSuper BooleanAdmin 
- Indicates whether the user is a super admin.
- joinTime String
- Date and time when the user joined the organization.
- lastActivity StringTime 
- 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
- IsApplication boolUser 
- Inidicates whether the user is an application user.
- JobTitle string
- Job title
- ManagedBy boolScim 
- Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- ManagingOrganization stringId 
- 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
- IsApplication boolUser 
- Inidicates whether the user is an application user.
- JobTitle string
- Job title
- ManagedBy boolScim 
- Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- ManagingOrganization stringId 
- 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
- isApplication BooleanUser 
- Inidicates whether the user is an application user.
- jobTitle String
- Job title
- managedBy BooleanScim 
- Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- managingOrganization StringId 
- 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
- isApplication booleanUser 
- Inidicates whether the user is an application user.
- jobTitle string
- Job title
- managedBy booleanScim 
- Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- managingOrganization stringId 
- 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_ booluser 
- Inidicates whether the user is an application user.
- job_title str
- Job title
- managed_by_ boolscim 
- Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- managing_organization_ strid 
- 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
- isApplication BooleanUser 
- Inidicates whether the user is an application user.
- jobTitle String
- Job title
- managedBy BooleanScim 
- Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- managingOrganization StringId 
- 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 aivenTerraform Provider.