Skip to Content
2
Oct 21, 2020 at 02:39 PM

Retrieve current user's team(s) assignment in script

201 Views

Hi All,

Application.getUserInfo() only gets the current user's id and name.
Is it possible to also retrieve the current user's team assignment(s)?

e.g. if current user is part of team X, then button1 can be visible

if so, a code example would be really helpful!

I know there are some SCIM api's available, only not sure if we could use it in application designer somehow??
https://<SAC.TenantId>.<region>.sapanalytics.cloud/api/v1/scim/Groups/TeamX