Preparing search index...
The search index is not available
Houston Common Library
Houston Common Library
@45drives/houston-common-lib
validateNewUser
Function validateNewUser
validate
New
User
(
userName
:
string
,
existingUsers
:
string
[]
)
:
null
|
string
Validates user input for adding a new user.
Parameters
userName
:
string
existingUsers
:
string
[]
A list of existing usernames.
Returns
null
|
string
Errors object, empty if valid.
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Official Cockpit API Documentation
Houston Common Library
Loading...
Validates user input for adding a new user.