Authing DocsDocuments
Concept
Guides
Development Integration
Application integration
Concept
Guides
Development Integration
Application integration
Old Version
Guides
  • Quick start

  • Authenticate the user

  • Authority management for users

  • Authorization

  • Manage user accounts

    • User field interpretation
    • Administrator create account
    • Manage user accounts
    • Binding account
    • Manage user's custom data
    • View user's login history
    • View the user's geographic location
    • Enhance account security
    • Manage user login status
    • Control which applications users can access
    • User groups
  • Manage User Directory

  • Management Application

  • Become a source of federal authentication identity

  • Connect to an external identity provider (IdP)

  • Open up WeChat ecology
  • Migrate users to Authing

  • Management organization

  • Expandable capabilities

  • Audit Log

  • Configure security information

  • Configure user pool information

  • Deployment plan

  • Frequently Asked Questions FAQs

  1. Guides
  2. /
  3. Manage user accounts
  4. /
  5. Administrator create account

¶ Administrator create accounts

Update Time: 2022-05-14 10:21:54
Edit

The similarities and differences between the account created by the administrator and the account registered by the user as follows:

  • The account created by the administrator is not restricted by the "registration disabled" configuration;
  • The account created by the administrator is not restricted by the "registration whitelist";
  • Administrators do not need a verification code to create a phone account, but users need it when registering an account by themselves;
  • The phoneVerified field of the mobile phone number account created by the administrator is false, and the one registered by the user is true;
  • Both the administrator's account creation and the user's self-registration cannot create duplicate mailboxes, phone numbers, and usernames.

Administrators can create users through the [console](#Use 控制台创建用户) or [SDK](#Use -sdk-创建用户).

¶ Create accounts using the console

You can manually create an account in the user management -> user list of the console:

You can create an account by email or phone number.

¶ Create accounts using the SDK

Language
Java
Loading...

Use 用户池 ID(userPoolId)和用户池密钥(secret)初始化 Java SDK 的 ManagementClient:

import cn.authing.core.mgmt.ManagementClient;

public class ManagementClientTest {
    public static void main(String[] args){
      ManagementClient managementClient = new ManagementClient("AUTHING_USERPOOL_ID", "AUTHING_USERPOOL_SECRET");
      // 获取管理员权限
      managementClient.requestToken().execute();

      // 之后就可以Use  managementClient 进行管理员操作了,比如获取用户列表。
      PaginatedUsers users = managementClient.users().list().execute();
    }
}

Use UsersManagementClient 的 create 方法创建用户:

String email = "test@example.com";
String password = "123456";
User user = managementClient.users().create(new CreateUserInput().withEmail(email).withPassword(password)).execute();
Prev: User field interpretation Next: Manage user accounts
  • Create accounts using the console
  • Create accounts using the SDK

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.