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 dictionary
The following arguments are supported:
getOrganizationUserList Result
The following output properties are available:
- Users
List<Get
Organization 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
[]Get
Organization 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<Get
Organization 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
Get
Organization 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[Get
Organization 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
- Is
Super boolAdmin - Indicates whether the user is a super admin.
- Join
Time string - Date and time when the user joined the organization.
- Last
Activity stringTime - Last activity time.
- User
Id string - User ID.
- User
Infos List<GetOrganization User List User User Info>
- Is
Super boolAdmin - Indicates whether the user is a super admin.
- Join
Time string - Date and time when the user joined the organization.
- Last
Activity stringTime - Last activity time.
- User
Id string - User ID.
- User
Infos []GetOrganization User List User User Info
- is
Super BooleanAdmin - Indicates whether the user is a super admin.
- join
Time String - Date and time when the user joined the organization.
- last
Activity StringTime - Last activity time.
- user
Id String - User ID.
- user
Infos List<GetOrganization User List User User Info>
- is
Super booleanAdmin - Indicates whether the user is a super admin.
- join
Time string - Date and time when the user joined the organization.
- last
Activity stringTime - Last activity time.
- user
Id string - User ID.
- user
Infos 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]
- is
Super BooleanAdmin - Indicates whether the user is a super admin.
- join
Time String - Date and time when the user joined the organization.
- last
Activity StringTime - Last activity time.
- user
Id String - User ID.
- user
Infos List<Property Map>
GetOrganizationUserListUserUserInfo
- City string
- City
- Country string
- Country
- Create
Time string - Date and time when the user was created.
- Department string
- Department
- Is
Application boolUser - Inidicates whether the user is an application user.
- Job
Title string - Job title
- Managed
By boolScim - Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- Managing
Organization stringId - The ID of the organization that manages the user.
- Real
Name string - Full name of the user.
- State string
- State
- User
Email string - Email address.
- City string
- City
- Country string
- Country
- Create
Time string - Date and time when the user was created.
- Department string
- Department
- Is
Application boolUser - Inidicates whether the user is an application user.
- Job
Title string - Job title
- Managed
By boolScim - Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- Managing
Organization stringId - The ID of the organization that manages the user.
- Real
Name string - Full name of the user.
- State string
- State
- User
Email string - Email address.
- city String
- City
- country String
- Country
- create
Time String - Date and time when the user was created.
- department String
- Department
- is
Application BooleanUser - Inidicates whether the user is an application user.
- job
Title String - Job title
- managed
By BooleanScim - Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- managing
Organization StringId - The ID of the organization that manages the user.
- real
Name String - Full name of the user.
- state String
- State
- user
Email String - Email address.
- city string
- City
- country string
- Country
- create
Time string - Date and time when the user was created.
- department string
- Department
- is
Application booleanUser - Inidicates whether the user is an application user.
- job
Title string - Job title
- managed
By booleanScim - Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- managing
Organization stringId - The ID of the organization that manages the user.
- real
Name string - Full name of the user.
- state string
- State
- user
Email 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
- create
Time String - Date and time when the user was created.
- department String
- Department
- is
Application BooleanUser - Inidicates whether the user is an application user.
- job
Title String - Job title
- managed
By BooleanScim - Indicates whether the user is managed by System for Cross-domain Identity Management (SCIM).
- managing
Organization StringId - The ID of the organization that manages the user.
- real
Name String - Full name of the user.
- state String
- State
- user
Email 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.