简体   繁体   中英

Azure AD B2C - my app has Businesses and their Employees

I'm trying to create a custom login form with Azure B2C, primarily because I need every registered user to be approved. So I created a lib which has CreateUser method and it uses Graph API to do so. Now, I see jobTitle , department , physicalDeliveryOfficeName properties for a User ( here ) but I don't see a Company Name !

I've found TenantDetail Entity at the same page and I'd like to know how are they related and should I create this TenantDetail Entity first and then associate new users to it?

As a reminder, this is just for having multiple users in my app which may work for a different companies (businesses).

Consequently, I may have Edit user details page later.

The "TenantDetail" entity contains details for the Azure AD tenant rather than users.

You should create a custom attribute for representing the company name for a registered user as described at here .

You can get and set this custom attribute for the user objects using the Graph API as documented at here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM