如何使用Java编程方式为任何电子邮件创建Google Cloud身份?

huangapple go评论71阅读模式
英文:

How to create a google cloud identity for any email programmatically using Java?

问题

我有一个要求,需要使用Java编程来为一些电子邮件地址创建Google Cloud ID。我可以使用Directory库为用户创建完整的Google Workspace帐户,但对于一些用户,我们不需要Workspace帐户,因此我们只想为他们创建Google Cloud身份。

谢谢。

英文:

I have a requirement of creating google cloud id for some emails programmatically using Java. I can create full google workspace account for users using Directory lib but for some users we dont require workspace account and hence we just want to create google cloud identity for them.

Thanks

答案1

得分: 0

根据这个链接

您应该在Google Workspace中创建一个组织单位(OU),并为该OU关闭自动许可证。然后,在创建用户时,将用户的OU设置为关闭许可证的OU。这样,您将获得一个只有Cloud Identity许可证的用户。

以下是每个步骤的详细步骤:

  1. 要在Google Workspace中创建一个OU,请登录到您的Google Admin控制台,然后转到菜单 > 目录 > 组织单位。点击创建新的组织单位,输入您的新OU的名称,并在自动许可证部分选择关闭。点击创建

  2. 要在您创建的OU中创建一个只有Cloud Identity许可证的用户,请登录到您的Google Admin控制台,然后转到菜单 > 用户 > 创建用户。输入用户的姓名、电子邮件地址和密码。在组织单位部分,选择您在步骤1中创建的OU。在许可证部分,选择Cloud Identity。点击创建

该用户将仅具有Cloud Identity许可证,并且将无法访问任何其他Google Workspace服务。

参考链接:

英文:

According to this Link

> You should create an OU in Google Workspace and set the auto licensing off for this OU. Then when you create the User, set the OU of the user to the one with the licensing off. That should then give you an user with only Cloud Identity License.

Here are the detailed steps for each step:

  1. To create an OU in Google Workspace, sign in to your Google Admin console and go to Menu > Directory > Organizational units. Click Create new organizational unit, enter a name for your new OU, and select Off in the Automatic licensing section. Click Create.

  2. To create a user with only Cloud Identity License in the OU that you created, sign in to your Google Admin console and go to Menu > Users > Create user. Enter the user's name, email address, and password. In the Organizational unit section, select the OU that you created in step 1. In the Licenses section, select Cloud Identity. Click Create.

The user will be created with only Cloud Identity License and will not have access to any other Google Workspace services.

Reference:

huangapple
  • 本文由 发表于 2023年8月4日 02:19:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76830692.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定