add Viewer

fun addViewer(name: String, surname: String, email: String): <Error class: unknown class>

Method to add a new com.tecknobit.ametistacore.models.AmetistaUser.Role.VIEWER in the system

Return

the result of the request as JSONObject

Parameters

name

: the name of the user

surname

: the surname of the user

email

: the email of the user