Skip to content

Documentation / @tenancy-node/db / usernameFor

Function: usernameFor() ​

usernameFor(tenantId, prefix, maxLength): string

Defined in: db/src/provisioning/naming.ts:35

Usuario de base del tenant; si no cabe en el límite del motor, se recorta y se agrega un hash.

Parameters ​

tenantId ​

string

prefix ​

string

maxLength ​

number

Returns ​

string

Publicado bajo la licencia MIT.