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

This provider is currently in preview.

Viewing docs for Pulumi Cloud v0.39.0
published on Tuesday, Apr 28, 2026 by Pulumi
pulumiservice logo

This provider is currently in preview.

Viewing docs for Pulumi Cloud v0.39.0
published on Tuesday, Apr 28, 2026 by Pulumi

    Looks up a single member of a Pulumi Cloud organization by username (the backing identity-provider login, e.g. GitHub login). Returns an error when the member is not found.

    Using getOrganizationMember

    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 getOrganizationMember(args: GetOrganizationMemberArgs, opts?: InvokeOptions): Promise<GetOrganizationMemberResult>
    function getOrganizationMemberOutput(args: GetOrganizationMemberOutputArgs, opts?: InvokeOptions): Output<GetOrganizationMemberResult>
    def get_organization_member(organization_name: Optional[str] = None,
                                username: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetOrganizationMemberResult
    def get_organization_member_output(organization_name: Optional[pulumi.Input[str]] = None,
                                username: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationMemberResult]
    func LookupOrganizationMember(ctx *Context, args *LookupOrganizationMemberArgs, opts ...InvokeOption) (*LookupOrganizationMemberResult, error)
    func LookupOrganizationMemberOutput(ctx *Context, args *LookupOrganizationMemberOutputArgs, opts ...InvokeOption) LookupOrganizationMemberResultOutput

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

    public static class GetOrganizationMember 
    {
        public static Task<GetOrganizationMemberResult> InvokeAsync(GetOrganizationMemberArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationMemberResult> Invoke(GetOrganizationMemberInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationMemberResult> getOrganizationMember(GetOrganizationMemberArgs args, InvokeOptions options)
    public static Output<GetOrganizationMemberResult> getOrganizationMember(GetOrganizationMemberArgs args, InvokeOptions options)
    
    fn::invoke:
      function: pulumiservice:getOrganizationMember
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrganizationName string
    The name of the Pulumi organization.
    Username string
    The Pulumi Cloud username (backing identity-provider login) to look up.
    OrganizationName string
    The name of the Pulumi organization.
    Username string
    The Pulumi Cloud username (backing identity-provider login) to look up.
    organizationName String
    The name of the Pulumi organization.
    username String
    The Pulumi Cloud username (backing identity-provider login) to look up.
    organizationName string
    The name of the Pulumi organization.
    username string
    The Pulumi Cloud username (backing identity-provider login) to look up.
    organization_name str
    The name of the Pulumi organization.
    username str
    The Pulumi Cloud username (backing identity-provider login) to look up.
    organizationName String
    The name of the Pulumi organization.
    username String
    The Pulumi Cloud username (backing identity-provider login) to look up.

    getOrganizationMember Result

    The following output properties are available:

    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.
    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.39.0
    published on Tuesday, Apr 28, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.