Loading...
Loading...
Compare original and translation side by side
service-omni-channel-setup-coordinateservice-omni-base-settings-configureservice-omni-permission-set-assignservice-omni-queue-members-assignservice-omni-supervisor-users-createservice-omni-base-settings-configureservice-omni-channel-setup-coordinateservice-omni-permission-set-assignservice-omni-queue-members-assignservice-omni-supervisor-users-createorg-aliassf org display31..10Standard Userorg-aliassf org display31..10Standard Usersf.lightning.force.comsfPermissionsModifyAllDataPermissionsManagePasswordPoliciessafe_to_writeIsSandboxTrialExpirationDate != nullOrganizationTypeSystem.setPasswordsf user password generateNamedOrgNotFoundErrorApexLogSystem.setPasswordExpirationDate > nowpassword_status:"reset_required"security_warningApexLogSystem.setPasswordsf.lightning.force.comsfPermissionsModifyAllDataPermissionsManagePasswordPoliciessafe_to_writeIsSandboxTrialExpirationDate != nullsafe_to_writeSystem.setPasswordsf user password generateNamedOrgNotFoundErrorApexLogSystem.setPasswordExpirationDate > nowpassword_status:"reset_required"security_warningApexLogSystem.setPasswordundefinedundefined
`detect-and-create.sh` is the canonical entry point: it re-runs detection, enforces the production guard, and only then inserts. Do not call `scripts/run-create.sh` directly — it is internal and does not enforce the guard on its own.
`detect-and-create.sh`是标准入口:它会重新执行检测、执行生产环境防护检查,之后才会插入用户。请勿直接调用`scripts/run-create.sh`——它是内部脚本,不会自行执行防护检查。Organization.Idsubstring(10,18)Useragent{i}.<suffix>@example.comcountassets/create-users.apex.template__COUNT____PROFILE_ID____SUFFIX__DUPLICATE_USERNAMEUserPermissionsSupportUser=trueAGENT_USER_CREATED|<id>|<username>|<email>System.setPasswordmissing_count == 0Organization.Idsubstring(10,18)Useragent{i}.<suffix>@example.comcountassets/create-users.apex.template__COUNT____PROFILE_ID____SUFFIX__DUPLICATE_USERNAMEUserPermissionsSupportUser=trueAGENT_USER_CREATED|<id>|<username>|<email>System.setPasswordmissing_count == 0detect-and-create.shstatuscreatedpartialreusedaction_neededblockeddetectcreatenullreused_userscreated_countreused_counttotal_present_afterusers_needing_password_resetaction_requiredsafe_to_writereused_userscreatedpartialreusedaction_neededblockedsafe_to_write=falsecreate.created_users[].passwordSystem.setPasswordpassword_status:"reset_required"createdpartialaction_neededreusedblockedCREDENTIALS.jsondetect-and-create.shstatuscreatedpartialreusedaction_neededblockeddetectcreatenullreused_userscreated_countreused_counttotal_present_afterusers_needing_password_resetaction_requiredsafe_to_writereused_userscreatedpartialreusedaction_neededblockedsafe_to_write=falsecreate.created_users[].passwordSystem.setPasswordpassword_status:"reset_required"createdpartialaction_neededreusedblockedCREDENTIALS.jsonDUPLICATE_USERNAMEINVALID_EMAILLICENSE_LIMIT_EXCEEDEDDUPLICATE_USERNAMEINVALID_EMAILLICENSE_LIMIT_EXCEEDED| File | When to read |
|---|---|
| Before running the Apex — Apex structure, User field defaults, password policy, and the profile-localization risk |
| When user creation returns a duplicate, license, or password error — explains template substitutions and retry behavior |
| Loaded by |
| Loaded by the canonical entry point for the read-only org, profile, safety, and existing-user checks |
| Run after changing the user-creation scripts to verify production refusal and password-handling contracts |
| 文件 | 阅读时机 |
|---|---|
| 运行Apex前——介绍Apex结构、User字段默认值、密码策略和配置文件本地化风险 |
| 用户创建返回重复、许可证或密码错误时——解释模板替换和重试行为 |
| 需插入缺失代理用户时,由 |
| 标准入口加载,用于只读的org、配置文件、安全检查和现有用户检查 |
| 修改用户创建脚本后运行,验证生产环境拒绝逻辑和密码处理约定 |