add Viewer

fun addViewer(onSuccess: () -> Unit)

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

Parameters

onSuccess

The action to execute when the user has been added