Username Policy
This module automatically generates usernames for new users based on the values of fields submitted in the registration form. It uses a token-based pattern defined by the administrator to create usernames, falling back to using the user's email address if no pattern is set. The module can also integrate with the Profile2 module to include profile field values in username generation.
Username policy module auto generates the username for new user, registering on the website based on certain field values of registration form.
Overview
This module adds set of token based on mandatory field of user registration form. These tokens are used to create a pattern for auto generation of username by admin.
If there is no pattern specified even after enabling the module, it will use user email as the username.
Module will also add token based on mandatory fields of profile2 module if installed and used on your site.