Right now, via the Tulip API, you can only create new users. I think it would be very beneficial to be able to pull other user data with the API, most importantly access level. roles and permissions. When developing an app outside of tulip, I would like to use the tulip user info to dictate applications permissions. Instead, I now have to create a separate sql table to handle permissions just for my outside applications that may still interface with tulip to some degree
Hi Steve, this is a great idea and something we certainly plan on building- a proper, fully-featured Users API. I don’t have a timeline for you yet, but we have heard this request from a few customers for different purposes.
Hi all.
I had to map the user ID with the user’s full name and was quite surprised not to see any GET
method in the User-related features of the Tulip API. I guess it was hard to decide what to do exactly to avoid exposing sensitive user information?
Anyway. Here is a small workaround that can work for some. From an app:
- You can access the user’s full name via
App Info.Logged-in User.Name
- You can access the user ID using this expression:
TOTEXT(@App Info.Logged-in User)
(I also tried creating a record placeholder linked to the actual user table to see if I could display any information. Unfortunately, all I got was a set of keys without any values.)
Note that it is also possible to access the logged-in user (and any user)'s details using Data Manipulation > Store > Users > [your user]. As of now, we get access to:
- the user itself (that is, the “User-typed” value representing the user)
- name
- phone number
- role
Hello @fti and @sgiarTiff , I am doing research on this topic with the hope of releasing a Users API in the next few months. Would either of you be willing to do a call with me to tell me a little more about your needs?
Hi @kevin.kononenko.
Yes, I can take some time for that. Please send me an e-mail or private message so we can decide on a date and time (CET please).
Regards
Hello @fti and @sgiarTiff , good news!
As part of the launch for Ops Calling 2024, we did indeed launch a Users API with GET and LIST endpoints. It comes with r289 and later. For an example of the docs, see our API docs here: /api/users/v1/users - users
If you enjoy this, or have other endpoints you are looking for, let us know in the comments here!