Skip to main content

Adding users to your enterprise

Add users to your enterprise and control access to your organization's resources.

The method of adding users to your enterprise and controlling authentication varies depending on the enterprise type that you chose.

Personal accounts

If you chose an enterprise with personal accounts, you will invite users to your enterprise with their existing GitHub account.

  1. In the top-right corner of GitHub, click your profile picture.
  2. Click Enterprises then click the enterprise you want to view.
  3. 在页面顶部,单击 “People”
  4. On the "Members" page, click Invite member.
  5. Search for the users you want to invite, then click Invite.

After you invite someone to join the enterprise account, they must accept the emailed invitation before they can access the enterprise account. Pending invitations will expire after 7 days.

Later in this onboarding journey, you will add users to teams to grant access to organizations and delegate administrative roles.

Enabling single sign-on for personal accounts

单一登录 (SSO) 使组织所有者和企业所有者能够控制和保护对组织资源(如仓库、议题和拉取请求)的访问。

  1. Check if your SAML service is supported. See 关于使用 SAML 单一登录进行的标识和访问管理.
  2. Decide whether to configure SAML for your enterprise account or for individual organizations. See 决定是为企业还是组织配置 SAML.
  3. If you're enabling SAML for the enterprise, you can do so now. See 为企业配置 SAML 单点登录.

Enterprise Managed Users

With Enterprise Managed Users, you manage the lifecycle and authentication of your users on GitHub.com or GHE.com from an external identity management system, or IdP:

  • Your IdP provisions new user accounts on GitHub, with access to your enterprise.
  • Users must authenticate on your IdP to access your enterprise's resources on GitHub.
  • You control usernames, profile data, organization membership, and repository access from your IdP.
  • If your enterprise uses OIDC SSO, GitHub will validate access to your enterprise and its resources using your IdP's Conditional Access Policy (CAP).
  • 托管用户帐户 cannot create public content or collaborate outside your enterprise.

Get started with managed users

To use Enterprise Managed Users, you will:

  • Configure authentication using SAML or OIDC
  • Configure SCIM provisioning
  • Provision users to your enterprise

To get started, see Enterprise Managed Users 入门.

Next steps

Learn about how billing will work when your trial ends. See 关于企业计费.