Continue to generate new usernames (trigger event) until datasource says the username is unique
Continue to generate new usernames (trigger event) until datasource says the username is unique

cdli/CdliAutogenUsername