Create New User Type

You may have a need to create a user type apart from the default of administrators and users, such as for example, distributors. This is rather easy with Apex, and learning by example, this guide will go through how to create a new user type within apex.

If you don't already have a development package to work with, create one with the command:

./apex package create demo

Create User Class