ProtectedcreateOptionallinkedEntityId: stringOptionallinkedEntityRecordId: stringthe new user, or null when the template is missing, isn't flagged IsTemplate, or the copy fails (the reason is logged and the caller falls back to a plain user).
OptionallinkedEntityId: stringOptionallinkedEntityRecordId: string
Creates the new user as a copy of the template user
templateEmail, through theMJ: Usersclonepreset: its roles, apps, views, settings, dashboards and conversations come with it, owned by the new user. The clone engine creates users inactive for review; a user signing in is active.