Skip to main content

UserCreate

This class represents the schema for creating a new user, extending the base user model with a required password field. It enforces security constraints by validating that the password length is between 8 and 128 characters.

Attributes

AttributeTypeDescription
passwordstrThe plain-text password for the new user account, which must be between 8 and 128 characters in length.

Constructor

Signature

def UserCreate(
password: string
) - > null

Parameters

NameTypeDescription
passwordstringThe user's password, which must be between 8 and 128 characters in length.

Signature

def UserCreate(
password: string
) - > null

Parameters

NameTypeDescription
passwordstringThe plain-text password for the new user account, which must be between 8 and 128 characters in length.