How to query the User object in GraphQL

Hey there!

I’m able to query all the object classes in the Data Model in GraphQL (which is awesome), except the built-in User object class. There is no option to check the “enable GraphQL” box for this object, unlike the other objects.

Is there anything I’m missing here, or anything I can do to make this object class available in GraphQL? (Specifically, there’s a column there I’d like to be able to tie to some other data.)

Regards,
Mikkel

Hi Mikkel, and welcome to the community.

Unfortunately, it’s not possible to query the User object in GraphQL.
Depending on your use case, you could possibly extend the User Object and query a Person object instead.

You can also read more about user handling here.

Please reach out if you have anymore questions.

1 Like

Thank you for the quick and useful answer, Erik!