is Viewer

protected open fun isViewer(userId: String, token: String): Boolean

Method to get whether the user who request to execute an action is a VIEWER

Return

whether the user is a VIEWERboolean

Parameters

userId

The identifier of the user

token

The token of the user