user Allowed And Application Exists

private open fun userAllowedAndApplicationExists(userId: String, token: String, applicationId: String): Boolean

Method to check if the user is allowed to operate (him/she is an ADMIN) and the application exists

Return

whether the user is allowed to operate and the application exists as boolean

Parameters

userId

The identifier of the user

token

The token of the user

applicationId

The identifier of the application