HomeDocumentationContributorsArticlesChangelogSupport
DrupalConsole siteDrupalConsole site
HomeDocumentationContributorsArticlesChangelogSupport
  • Welcome
  • 什么是 Drupal Console
    为什么你应该关注?Drupal Console 是怎样提供帮助的?Drupal Console 项目相关链接
  • 安装 Drupal Console
    使用 Drupal Console 安装器使用 ComposerInstalling on Windows
  • 使用 Drupal Console
    如何拷贝配置文件如何下载,安装并运行 Drupal 8如何在多站点环境下使用 Drupal Console
  • 可用命令
  • Using site alias
    Setting up your local machineHow to use Drupal Console in a remote installationConnecting to a virtual environment
  • What is a chain command
    Registering chain commands as regular commandsListing registered commands
  • Creating custom Commands
    The Command ClassRegistering CommandsConfiguring the CommandCommand LifecycleGetting Services from the Service ContainerGenerating Code with a Command
  • 参与贡献
    最低要求获取项目如何运行保持更新创建一个 Issue 和 Pull 请求文档编写
  • 常见问题
    安装问题权限没有列出的命令交互模式
  • 参考资料
Català (ca)English (en)Español (es)فارسی (fa-ir)Français (fr)हिन्दी (hi)Magyar (hu)日本語 (ja)मराठी (mr)Português brasileiro (pt-br)Romanian (ro)pусский язык (ru)Vietnamese (vn)简体中文 (zh-hans)
  • Welcome
  • 什么是 Drupal Console
    为什么你应该关注?Drupal Console 是怎样提供帮助的?Drupal Console 项目相关链接
  • 安装 Drupal Console
    使用 Drupal Console 安装器使用 ComposerInstalling on Windows
  • 使用 Drupal Console
    如何拷贝配置文件如何下载,安装并运行 Drupal 8如何在多站点环境下使用 Drupal Console
  • 可用命令
  • Using site alias
    Setting up your local machineHow to use Drupal Console in a remote installationConnecting to a virtual environment
  • What is a chain command
    Registering chain commands as regular commandsListing registered commands
  • Creating custom Commands
    The Command ClassRegistering CommandsConfiguring the CommandCommand LifecycleGetting Services from the Service ContainerGenerating Code with a Command
  • 参与贡献
    最低要求获取项目如何运行保持更新创建一个 Issue 和 Pull 请求文档编写
  • 常见问题
    安装问题权限没有列出的命令交互模式
  • 参考资料

create:users

为您的 Drupal 8 应用程序创建用户。

使用方法:

drupal create:users [arguments] [options]
cru

可用选项

选项详细信息

--limit

您要创建多少用户?

--password

设置创建用户时用户的密码

--time-range

设置创建用户的时间

可用参数

参数详细信息

roles

创建用户时使用的角色

例子

提供用户角色。

drupal create:users role

提供创建用户的数量,密码和创建时间范围。

drupal create:users role \
  --limit="5" \
  --password="usersnewpassword" \
  --time-range="1"
HomeDocumentationContributorsArticlesChangelogSupport
© 2020, Built using GatsbyJS