此内容没有您所选择的语言版本。

Chapter 23. Namespace: org


Contains methods to access common organization management functions available from the web interface
Namespace: org

23.1. Method: create

Description

Create a new organization and associated administrator account

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string orgName - Organization name; must meet same criteria as in the web UI
  • string adminLogin - New administrator login name
  • string adminPassword - New administrator password
  • string prefix - New administrator's prefix; must match one of the values available in the web UI (i.e. Dr., Mr., Mrs., Sr., etc.)
  • string firstName - New administrator's first name
  • string lastName - New administrator's first name
  • string email - New administrator's e-mail
  • boolean usePamAuth - true if PAM authentication should be used for the new administrator account
Returns

The following return values are available for this method:

  • struct - organization info
    • int id
    • string name
    • int active_users - Number of active users in the organization
    • int systems - Number of systems in the organization
    • int trusts - Number of trusted organizations
    • int system_groups - Number of system groups in the organization (optional)
    • int activation_keys - Number of activation keys in the organization (optional)
    • int kickstart_profiles - Number of kickstart profiles in the organization (optional)
    • int configuration_channels - Number of configuration channels in the organization (optional)
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat