Solved

API: extract User Roles for all users

  • 19 December 2022
  • 3 replies
  • 85 views

Userlevel 2
Badge +1

Hello Team,

Today we have a technical question, asked by our BI Analyst. I was gonna forward it to inSided support but I figured it makes more sense to ask on the Community, in case somebody else will have the same need in the future.

 

Question

So we are currently trying to extract the ‘Custom Role’ of our users, for all our users.
We saw this API (https://api2-us-west-2.insided.com/docs/user/#operation/findBy) but want to avoid having to call this API for all our users. 

We believe we are currently using this API (https://api2-us-west-2.insided.com/docs/user/) for all user details. 

Is there any way a Custom Role could be obtained from here, or other APIs we should be looking into  to get a complete details of our users (including custom roles)? 

 

Does anybody have an idea?

Thank you so much!

icon

Best answer by bas 19 December 2022, 13:23

View original

3 replies

Badge +1

Hi Daniele,

Unfortunately the inSided APIs are quite transactional in their design, they are not created for BI-tooling as you will have noticed.

If this is a one time or quarterly thing, the user export would be the way to go.

You can find it at /analytics/export

Userlevel 2
Badge +1

Hi @bas, this would be more like a daily thing, as we need to retrieve custom role to filter out relevant roles for the Dashboards we will build on Tableau.

Do you see this getting implemented at some point in the future?
Could this potentially change with the upcoming datalake release? any partial hint?

Otherwise we will explore some more internal workarounds :)

 

Cheers,
Daniele

Badge +1

I can see this becoming available in the future yes, and indeed the magic word is datalake :)

I wouldn’t be able to comment on the current planning, so please keep on the lookout for the next roadmap update.

Reply