1. Packages
  2. Packages
  3. Pulumi Cloud (Pulumi Service provider)
  4. API Docs
  5. getOrganizationMembers

This provider is currently in preview.

Viewing docs for Pulumi Cloud v0.40.0
published on Monday, May 11, 2026 by Pulumi
pulumiservice logo

This provider is currently in preview.

Viewing docs for Pulumi Cloud v0.40.0
published on Monday, May 11, 2026 by Pulumi

    Lists all members of a Pulumi Cloud organization, including their role assignments. Merges Pulumi Cloud’s identity-provider roster (paginated; includes users who haven’t signed in to Pulumi yet) with the seat-count roster, deduped by username, so SAML- and non-SAML-provisioned members both appear regardless of which roster they’re tracked in.

    Using getOrganizationMembers

    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 getOrganizationMembers(args: GetOrganizationMembersArgs, opts?: InvokeOptions): Promise<GetOrganizationMembersResult>
    function getOrganizationMembersOutput(args: GetOrganizationMembersOutputArgs, opts?: InvokeOptions): Output<GetOrganizationMembersResult>
    def get_organization_members(organization_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetOrganizationMembersResult
    def get_organization_members_output(organization_name: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationMembersResult]
    func GetOrganizationMembers(ctx *Context, args *GetOrganizationMembersArgs, opts ...InvokeOption) (*GetOrganizationMembersResult, error)
    func GetOrganizationMembersOutput(ctx *Context, args *GetOrganizationMembersOutputArgs, opts ...InvokeOption) GetOrganizationMembersResultOutput

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

    public static class GetOrganizationMembers 
    {
        public static Task<GetOrganizationMembersResult> InvokeAsync(GetOrganizationMembersArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationMembersResult> Invoke(GetOrganizationMembersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationMembersResult> getOrganizationMembers(GetOrganizationMembersArgs args, InvokeOptions options)
    public static Output<GetOrganizationMembersResult> getOrganizationMembers(GetOrganizationMembersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: pulumiservice:getOrganizationMembers
      arguments:
        # arguments dictionary
    data "pulumiservice_getorganizationmembers" "name" {
        # arguments
    }

    The following arguments are supported:

    OrganizationName string
    The name of the Pulumi organization.
    OrganizationName string
    The name of the Pulumi organization.
    organization_name string
    The name of the Pulumi organization.
    organizationName String
    The name of the Pulumi organization.
    organizationName string
    The name of the Pulumi organization.
    organization_name str
    The name of the Pulumi organization.
    organizationName String
    The name of the Pulumi organization.

    getOrganizationMembers Result

    The following output properties are available:

    Supporting Types

    OrganizationMemberInfo

    Username string
    The member's Pulumi Cloud username.
    VirtualAdmin bool
    Whether this member is an admin in Pulumi Cloud without admin access on the backing identity provider.
    Role string
    The member's built-in role (member, admin, billing-manager). Absent when a custom role is assigned — check roleId in that case.
    RoleId string
    The custom role ID assigned to this member, if any.
    RoleName string
    The name of the currently assigned role (custom role name, or built-in role).
    Username string
    The member's Pulumi Cloud username.
    VirtualAdmin bool
    Whether this member is an admin in Pulumi Cloud without admin access on the backing identity provider.
    Role string
    The member's built-in role (member, admin, billing-manager). Absent when a custom role is assigned — check roleId in that case.
    RoleId string
    The custom role ID assigned to this member, if any.
    RoleName string
    The name of the currently assigned role (custom role name, or built-in role).
    username string
    The member's Pulumi Cloud username.
    virtual_admin bool
    Whether this member is an admin in Pulumi Cloud without admin access on the backing identity provider.
    role string
    The member's built-in role (member, admin, billing-manager). Absent when a custom role is assigned — check roleId in that case.
    role_id string
    The custom role ID assigned to this member, if any.
    role_name string
    The name of the currently assigned role (custom role name, or built-in role).
    username String
    The member's Pulumi Cloud username.
    virtualAdmin Boolean
    Whether this member is an admin in Pulumi Cloud without admin access on the backing identity provider.
    role String
    The member's built-in role (member, admin, billing-manager). Absent when a custom role is assigned — check roleId in that case.
    roleId String
    The custom role ID assigned to this member, if any.
    roleName String
    The name of the currently assigned role (custom role name, or built-in role).
    username string
    The member's Pulumi Cloud username.
    virtualAdmin boolean
    Whether this member is an admin in Pulumi Cloud without admin access on the backing identity provider.
    role string
    The member's built-in role (member, admin, billing-manager). Absent when a custom role is assigned — check roleId in that case.
    roleId string
    The custom role ID assigned to this member, if any.
    roleName string
    The name of the currently assigned role (custom role name, or built-in role).
    username str
    The member's Pulumi Cloud username.
    virtual_admin bool
    Whether this member is an admin in Pulumi Cloud without admin access on the backing identity provider.
    role str
    The member's built-in role (member, admin, billing-manager). Absent when a custom role is assigned — check roleId in that case.
    role_id str
    The custom role ID assigned to this member, if any.
    role_name str
    The name of the currently assigned role (custom role name, or built-in role).
    username String
    The member's Pulumi Cloud username.
    virtualAdmin Boolean
    Whether this member is an admin in Pulumi Cloud without admin access on the backing identity provider.
    role String
    The member's built-in role (member, admin, billing-manager). Absent when a custom role is assigned — check roleId in that case.
    roleId String
    The custom role ID assigned to this member, if any.
    roleName String
    The name of the currently assigned role (custom role name, or built-in role).

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo

    This provider is currently in preview.

    Viewing docs for Pulumi Cloud v0.40.0
    published on Monday, May 11, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.