简体   繁体   English

Azure AD B2C-我的应用包含企业及其员工

[英]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. 我正在尝试使用Azure B2C创建自定义登录表单,这主要是因为我需要每个注册用户都得到批准。 So I created a lib which has CreateUser method and it uses Graph API to do so. 因此,我创建了一个具有CreateUser方法的库,并使用Graph API来执行此操作。 Now, I see jobTitle , department , physicalDeliveryOfficeName properties for a User ( here ) but I don't see a Company Name ! 现在,我看到一个User的jobTitledepartmentphysicalDeliveryOfficeName属性( 在此处 ),但没有看到公司名称

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? 我在同一页面上找到了TenantDetail实体 ,我想知道它们之间的关系,我应该先创建该TenantDetail Entity ,然后将新用户关联到该TenantDetail Entity吗?

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. “ TenantDetail”实体包含Azure AD租户而不是用户的详细信息。

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 . 您可以获取和设置使用作为记录的图形API的用户对象这个自定义属性在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Azure AD B2C 登录到 Xamarin Android 应用 - Sign in with Azure AD B2C to Xamarin Android app Azure AD B2C - 角色管理 - Azure AD B2C - Role management 带有 B2C AD 的 Azure Graph - Azure Graph with B2C AD Azure AD B2C-错误的URL - Azure AD B2C - Wrong URL 无法使用来自我的 asp.net 核心 web 应用程序的 AAD B2C 中的自定义策略登录多租户 Azure AD - unable to sign In for MultiTenant Azure AD using Custom policies in AAD B2C from my asp.net core web app 访问Azure AD B2C锁定的Azure功能应用程序时收到403错误 - Receiving 403 error when accessing Azure function app locked down by Azure AD B2C Azure AD B2C + Azure移动应用程序-MobileServiceInvalidOperationException - Azure AD B2C + Azure Mobile Apps - MobileServiceInvalidOperationException 无法使Web应用重定向到Azure AD B2C登录页面 - Cannot get web app to redirect to Azure AD B2C Sign in Page 渐进式 ASP Web 应用程序中的多个 Azure AD B2C 登录屏幕 - Multiple Azure AD B2C login screens in progressive ASP web app 如何在Azure AD B2C中配置Microsoft帐户身份提供程序以重定向到我的URL - How can I configure Microsoft Account identity provider in Azure AD B2C to redirect to my URL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM