Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User object does not expose GlobalUserID #562

Open
alvaromarithompson opened this issue Sep 26, 2024 · 2 comments
Open

User object does not expose GlobalUserID #562

alvaromarithompson opened this issue Sep 26, 2024 · 2 comments

Comments

@alvaromarithompson
Copy link

SDK you're using (please complete the following information):

  • Version 9.0.0

Describe the bug
We've been going crazy trying to match the xero_userid returned by the OAuth process against an id found in the /Users endpoint since UserID is only the tenant-specific ID.

It turns out that there is a GlobalUserID property which matches xero_userid, but this is neither documented at https://developer.xero.com/documentation/api/accounting/users nor is it available in the Xero.NetStandard library (

public Guid? UserID { get; set; }
)

To Reproduce
Steps to reproduce the behavior:

  1. Call the AccountingClient.GetUsersAsync() method
  2. GlobalUserID is nowhere to be seen.

Expected behavior
The GlobalUserID property should be in the User object alongside UserID

Screenshots
image

Additional context
Both library and documentation are out-of-date

Copy link

PETOSS-603

Copy link

Thanks for raising an issue, a ticket has been created to track your request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant