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

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

1049 Views Last edit Apr 21, 2023 at 12:08 PM 2 rev

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