Create Joomla registered user by component

Creating a Joomla component that create user, can help you to add user from other forum, script etc… or from a simple mailing list. below function will help you to create a registered user from email address and name. pass the array with your user data.