Answer: Set `forceLoginMethod` and `forceLoginOrgUUID` in managed settings, with `forceLoginOrgUUID` set to your organization ID shown in claude.ai admin settings for Claude for Teams or Enterprise organizations. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/restrict-login-organization Revision: 2 Digest: sha256:f86ec3504336cd88 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:17Z Last changed: 2026-11-17T12:22:32Z (version for server-managed settings: — → v2.1.299) Last verified: 2026-11-20T12:18:07Z Next check: 2026-11-21T12:18:07Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of setting 1 | forceLoginMethod | [1] | 2026-11-20 setting 2 | forceLoginOrgUUID | [1] | 2026-11-20 claude.ai method value | claudeai | [1] | 2026-11-20 version for all login paths | v2.1.212 | [1] | 2026-11-20 version for server-managed settings | v2.1.299 | [1] | 2026-11-20 Sources: [1] Anthropic. "Authentication". https://code.claude.com/docs/en/authentication.md Role: primary. Accessed: 2026-11-20T12:18:07Z Quote: "set [`forceLoginMethod`](https://code.claude.com/docs/en/settings-reference#forceloginmethod) and [`forceLoginOrgUUID`](https://code.claude.com/docs/en/settings-reference#forceloginorguuid) in [managed settings]" (Supports: setting 1) Quote: "Set `forceLoginOrgUUID` to your organization ID, shown in [claude.ai admin settings]" (Supports: setting 2) Quote: "set `forceLoginMethod` to `"claudeai"`" (Supports: claude.ai method value) Quote: "On Claude Code v2.1.212 or later, every login path listed here applies `forceLoginMethod`." (Supports: version for all login paths) Quote: "set both keys there too until every client runs v2.1.299 or later" (Supports: version for server-managed settings) Published: 2026-11-20T02:54:51Z Snapshot SHA-256: 60939182bd968182fbc6c1671208055560ae39c6708444fd858489c152b061f1 (captured 2026-11-20T12:18:07Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:18:07Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:18:07Z Last attempt: 2026-11-20T12:18:07Z Notes and limitations: Extracted automatically from a single official source (section "Restrict login to your organization"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/restrict-parent-settings-locks How do I restrict parent settings for Claude Code using locks? https://latestn.com/tool/claude-code/admin-and-enterprise/restrict-plugin-marketplaces How do I restrict which plugin marketplaces users can install in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/roll-out-gateway-for-org How do I roll out an LLM gateway for my organization in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/process-wrapper-vs-shell-prefix How does CLAUDE_CODE_PROCESS_WRAPPER differ from CLAUDE_CODE_SHELL_PREFIX in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/provide-mcp-servers-managed-settings How do I provide MCP servers to every user through managed settings in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/rename-plugin-renames-map How do I rename a plugin in a Claude Code marketplace without breaking existing installs? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T12:22:32Z | changed | version for server-managed settings: — → v2.1.299 | [1] 2026-11-17T12:22:32Z | changed | version for all login paths: — → v2.1.212 | [1] 2026-11-17T12:22:32Z | changed | claude.ai method value: — → claudeai | [1] 2026-11-17T12:22:32Z | changed | setting 2: — → forceLoginOrgUUID | [1] 2026-11-17T12:22:32Z | changed | setting 1: — → forceLoginMethod | [1] 2026-11-17T12:22:32Z | changed | Version for forceLoginMethod on all login paths: v2.1.212 → — | [1] 2026-11-17T12:22:32Z | changed | Version for server-managed settings: v2.1.299 → — | [1] 2026-11-17T12:22:32Z | changed | Deployment method: device management tooling → — | [1] 2026-11-17T12:22:32Z | changed | Setting 2: forceLoginOrgUUID → — | [1] 2026-11-17T12:22:32Z | changed | Setting 1: forceLoginMethod → — | [1] 2026-11-13T03:03:17Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/restrict-login-organization/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/restrict-login-organization POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/restrict-login-organization with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/restrict-login-organization?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I restrict Claude Code login to my organization? Revision 2, last verified 2026-11-20T12:18:07Z. https://latestn.com/tool/claude-code/admin-and-enterprise/restrict-login-organization (accessed 2026-11-21T10:02:04Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_restrict_login_organization_r2, title = {How do I restrict Claude Code login to my organization?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/restrict-login-organization}}, note = {Revision 2; digest sha256:f86ec3504336cd88; last verified 2026-11-20T12:18:07Z; accessed 2026-11-21T10:02:04Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/restrict-login-organization