graph api azure get directory role (global admin , user) of logged in user

hello, i am new to and i am developing an application where i am suppose to get the directory role (global admin , user ) from azure for the logged in user and restrict access to pages unless the user is a global admin. how can this be achieved as i could not find any means to check if the user is global admin or not.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!