Generate random username

Hi guys, i've read the tutorials but i still cant figure it out. I have a registration form where a user can fill in his details and username. But i dont want the user to "fill in" the username, instead i want this to be generated to a random username of 'X' amount of digits/letters. Hope someone can help me out with this.
1 answers

Hi Nadeem,

Have a look at the Java action "RandomString" in the CommunityCommons module. The documentation of this Java action is as follows: "Generates a random alphanumeric string of the desired length."


If I understand correctly, simply using this Java action in a microflow should allow you to do what you desire.