Click here to Skip to main content
15,889,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello, i am new to asp.net 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.


What I have tried:

tried the "user type " attribute and the "member of" attribute as per the graph api documentation but these are not the appropriate means to get the result for above stated problem. any help will be appreciated
thank you
Posted
Updated 6-Mar-17 5:19am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900