Creates a new user in the MemberJunction system with validation and optional employee linking. This action extends CreateRecordAction to leverage existing record creation functionality while adding user-specific validation and business logic.

Hierarchy (view full)

Constructors

Methods

  • Creates a new record for the specified entity type.

    Parameters

    • params: RunActionParams<any>

      The action parameters containing:

      • EntityName (required): The name of the entity to create
      • Fields (required): Object containing field names and values to set

    Returns Promise<ActionResultSimple>

    ActionResultSimple with:

    • Success: true if record was created successfully
    • ResultCode: SUCCESS, FAILED, ENTITY_NOT_FOUND, VALIDATION_ERROR, PERMISSION_DENIED
    • Message: Details about the operation
    • Params: Output parameter 'PrimaryKey' contains an object with the primary key field(s) and value(s)