Skip to content

Domain of the user is not populated #1100

Closed

Description

@ashterenberg-paramount

Describe the bug
I have a bunch of users imported into the server v2022.1.4. They are imported from an AD tree with multiple domains (multiforest).

Versions
Details of your environment, including:

  • Tableau Server version = 2022.1.4
  • Python version = 3.8
  • TSC library version = 0.19

To Reproduce
import tableauserverclient as TSC
tableau_auth = TSC.TableauAuth('USERNAME', 'PASSWORD')
server = TSC.Server('https://SERVERURL')

with server.auth.sign_in(tableau_auth):
all_users, pagination_item = server.users.get()
print([user.domain_name for user in all_users])

Results
All rows have blank domain names, although querying the repo via the system_users table returns domain ids for the same users.

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

Activity

  1. jorwoods commented on Sep 14, 2022

    @jorwoods
    Contributor

    Domain is returned when using the users.get_by_id call.

  2. ashterenberg-paramount commented on Sep 14, 2022

    @ashterenberg-paramount
    Author
  3. github-actions commented on Aug 6, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.

  4. jacalata commented on Aug 6, 2026

    @jacalata
    Contributor

    Closing — the misleading domain_name description was corrected as part of #1563 (Add fields:all support). The current docstring on UserItem.domain_name describes the AD domain accurately, and users.get() now parses the domain element when all_fields=True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions