NewUserInput
input type
Create-input for a User. accountId names the existing Account to bind (miss → NOT_FOUND/CONSTRUCT; doomed → CONFLICT/REF_STATE; a restricted account is bindable). At most ONE User per (account × group): a live holder refuses CONFLICT/IDENTITY_TAKEN naming it; a doomed holder's binding is taken over atomically. orgRoles is required but MAY be empty; refs validated strict.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the constant 'User'; when supplied it must be non-blank. |
accountId | ID ID! | yes | The existing Account this user binds — immutable thereafter. |
orgRoles | UserOrgRolesInput [UserOrgRolesInput!]! | yes | The initial role-assignment set; may be empty (no org association yet). |