We have the roles of each user stored in our O365 active directory. Is there any way to access this information from Sharepoint (In app part/webpart code preferably)? Thanks!
There is, but you'll need to use the Microsoft Graph API to do it. I can start you along the answer, as far as how to access the MS Graph API from a SharePoint client side web part, or app part... check out my (3 part) blog post here:
The code would be similar, but you'd need to find the right endpoints in the MS Graph API to get the information you're looking for. I'm not exactly sure what you're looking for but I can start you here: