1. Packages
  2. Packages
  3. Auth0 Provider
  4. API Docs
  5. getUserConnectedAccounts
Viewing docs for Auth0 v3.45.0
published on Monday, Jun 1, 2026 by Pulumi
auth0 logo
Viewing docs for Auth0 v3.45.0
published on Monday, Jun 1, 2026 by Pulumi

    Data source to retrieve all connected accounts for a specific Auth0 user.

    Using getUserConnectedAccounts

    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 getUserConnectedAccounts(args: GetUserConnectedAccountsArgs, opts?: InvokeOptions): Promise<GetUserConnectedAccountsResult>
    function getUserConnectedAccountsOutput(args: GetUserConnectedAccountsOutputArgs, opts?: InvokeOptions): Output<GetUserConnectedAccountsResult>
    def get_user_connected_accounts(user_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetUserConnectedAccountsResult
    def get_user_connected_accounts_output(user_id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetUserConnectedAccountsResult]
    func GetUserConnectedAccounts(ctx *Context, args *GetUserConnectedAccountsArgs, opts ...InvokeOption) (*GetUserConnectedAccountsResult, error)
    func GetUserConnectedAccountsOutput(ctx *Context, args *GetUserConnectedAccountsOutputArgs, opts ...InvokeOption) GetUserConnectedAccountsResultOutput

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

    public static class GetUserConnectedAccounts 
    {
        public static Task<GetUserConnectedAccountsResult> InvokeAsync(GetUserConnectedAccountsArgs args, InvokeOptions? opts = null)
        public static Output<GetUserConnectedAccountsResult> Invoke(GetUserConnectedAccountsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserConnectedAccountsResult> getUserConnectedAccounts(GetUserConnectedAccountsArgs args, InvokeOptions options)
    public static Output<GetUserConnectedAccountsResult> getUserConnectedAccounts(GetUserConnectedAccountsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: auth0:index/getUserConnectedAccounts:getUserConnectedAccounts
      arguments:
        # arguments dictionary
    data "auth0_getuserconnectedaccounts" "name" {
        # arguments
    }

    The following arguments are supported:

    UserId string
    The ID of the user.
    UserId string
    The ID of the user.
    user_id string
    The ID of the user.
    userId String
    The ID of the user.
    userId string
    The ID of the user.
    user_id str
    The ID of the user.
    userId String
    The ID of the user.

    getUserConnectedAccounts Result

    The following output properties are available:

    ConnectedAccounts List<GetUserConnectedAccountsConnectedAccount>
    List of connected accounts for the user.
    Id string
    The provider-assigned unique ID for this managed resource.
    UserId string
    The ID of the user.
    ConnectedAccounts []GetUserConnectedAccountsConnectedAccount
    List of connected accounts for the user.
    Id string
    The provider-assigned unique ID for this managed resource.
    UserId string
    The ID of the user.
    connected_accounts list(object)
    List of connected accounts for the user.
    id string
    The provider-assigned unique ID for this managed resource.
    user_id string
    The ID of the user.
    connectedAccounts List<GetUserConnectedAccountsConnectedAccount>
    List of connected accounts for the user.
    id String
    The provider-assigned unique ID for this managed resource.
    userId String
    The ID of the user.
    connectedAccounts GetUserConnectedAccountsConnectedAccount[]
    List of connected accounts for the user.
    id string
    The provider-assigned unique ID for this managed resource.
    userId string
    The ID of the user.
    connected_accounts Sequence[GetUserConnectedAccountsConnectedAccount]
    List of connected accounts for the user.
    id str
    The provider-assigned unique ID for this managed resource.
    user_id str
    The ID of the user.
    connectedAccounts List<Property Map>
    List of connected accounts for the user.
    id String
    The provider-assigned unique ID for this managed resource.
    userId String
    The ID of the user.

    Supporting Types

    GetUserConnectedAccountsConnectedAccount

    AccessType string
    The access type for the connected account.
    Connection string
    The name of the connection associated with the account.
    ConnectionId string
    The unique identifier of the connection associated with the account.
    CreatedAt string
    ISO 8601 timestamp when the connected account was created.
    ExpiresAt string
    ISO 8601 timestamp when the connected account expires. Empty string if not set.
    Id string
    The unique identifier for the connected account.
    OrganizationId string
    The identifier of the organization associated with the connected account. Empty string if not set.
    Scopes List<string>
    The scopes granted for this connected account.
    Strategy string
    The authentication strategy used by the connection.
    AccessType string
    The access type for the connected account.
    Connection string
    The name of the connection associated with the account.
    ConnectionId string
    The unique identifier of the connection associated with the account.
    CreatedAt string
    ISO 8601 timestamp when the connected account was created.
    ExpiresAt string
    ISO 8601 timestamp when the connected account expires. Empty string if not set.
    Id string
    The unique identifier for the connected account.
    OrganizationId string
    The identifier of the organization associated with the connected account. Empty string if not set.
    Scopes []string
    The scopes granted for this connected account.
    Strategy string
    The authentication strategy used by the connection.
    access_type string
    The access type for the connected account.
    connection string
    The name of the connection associated with the account.
    connection_id string
    The unique identifier of the connection associated with the account.
    created_at string
    ISO 8601 timestamp when the connected account was created.
    expires_at string
    ISO 8601 timestamp when the connected account expires. Empty string if not set.
    id string
    The unique identifier for the connected account.
    organization_id string
    The identifier of the organization associated with the connected account. Empty string if not set.
    scopes list(string)
    The scopes granted for this connected account.
    strategy string
    The authentication strategy used by the connection.
    accessType String
    The access type for the connected account.
    connection String
    The name of the connection associated with the account.
    connectionId String
    The unique identifier of the connection associated with the account.
    createdAt String
    ISO 8601 timestamp when the connected account was created.
    expiresAt String
    ISO 8601 timestamp when the connected account expires. Empty string if not set.
    id String
    The unique identifier for the connected account.
    organizationId String
    The identifier of the organization associated with the connected account. Empty string if not set.
    scopes List<String>
    The scopes granted for this connected account.
    strategy String
    The authentication strategy used by the connection.
    accessType string
    The access type for the connected account.
    connection string
    The name of the connection associated with the account.
    connectionId string
    The unique identifier of the connection associated with the account.
    createdAt string
    ISO 8601 timestamp when the connected account was created.
    expiresAt string
    ISO 8601 timestamp when the connected account expires. Empty string if not set.
    id string
    The unique identifier for the connected account.
    organizationId string
    The identifier of the organization associated with the connected account. Empty string if not set.
    scopes string[]
    The scopes granted for this connected account.
    strategy string
    The authentication strategy used by the connection.
    access_type str
    The access type for the connected account.
    connection str
    The name of the connection associated with the account.
    connection_id str
    The unique identifier of the connection associated with the account.
    created_at str
    ISO 8601 timestamp when the connected account was created.
    expires_at str
    ISO 8601 timestamp when the connected account expires. Empty string if not set.
    id str
    The unique identifier for the connected account.
    organization_id str
    The identifier of the organization associated with the connected account. Empty string if not set.
    scopes Sequence[str]
    The scopes granted for this connected account.
    strategy str
    The authentication strategy used by the connection.
    accessType String
    The access type for the connected account.
    connection String
    The name of the connection associated with the account.
    connectionId String
    The unique identifier of the connection associated with the account.
    createdAt String
    ISO 8601 timestamp when the connected account was created.
    expiresAt String
    ISO 8601 timestamp when the connected account expires. Empty string if not set.
    id String
    The unique identifier for the connected account.
    organizationId String
    The identifier of the organization associated with the connected account. Empty string if not set.
    scopes List<String>
    The scopes granted for this connected account.
    strategy String
    The authentication strategy used by the connection.

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Viewing docs for Auth0 v3.45.0
    published on Monday, Jun 1, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial