Hi Tian,
You can easily create the user with the role by clicking on App42 Link under Users section of AppHQ Management Console. Once you open the above link, please click on Create User button and enter the required fields like username, email, role and password to create the user.
P.S As of now creating a user with the role in Corona is no available. We have forwarded the request to our team, once it will available in the SDK will let you know.
Regards,
Himanshu Sharma