is_username_available()
is_username_available(array $fields) : mixed
Test if username is available.
If the formdata contains a person GUID, it is ignored during the search
Parameters
array | $fields |
Returns
mixed —True on success, array of error messages otherwise