VMware Cloud Community
SimonBCh
Contributor
Contributor
Jump to solution

Check if current user is tenant admin

Hi

I'm currently stucked with the issue that I'm not able to check if an user is tenant admin or not over API.

What I have tried:

GET: https://{{vra-fqdn}}/identity/api/authorization/tenants/{{tenantId}}/principals/{{userId}}/permissions

The problem with this request is that if an user has not all business groups assigned you just get an empty permissions list.

So my question is how I'm able to check over the API if an user is tenant admin or not. (VRA 7.2)

Thanks for your help.

BR

Simon

0 Kudos
1 Solution

Accepted Solutions
AishR
VMware Employee
VMware Employee
Jump to solution

0 Kudos
1 Reply
AishR
VMware Employee
VMware Employee
Jump to solution

0 Kudos