Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

How to get the role information of a user assigned with different roles at subscription level using REST API

$
0
0
Hi,

I assigned a user in the Default directory to be a Contributor/Owner/Reader on the subscription level.
It shows as below in the portal
roles
How to get this information using REST API with input as objectId, SubscriptionId, DirectoryId.
ObjectId is the ID for the user registered in the Azure AD.

Output: Role name as on the portal.

FYI: I used this link MSDN Link. But, It dint serve my purpose. 


Thanks in advance. 
Regards,
Rahul

rahul mohan


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>