ctm.getUserType

The method of JS Bridge functionality is intended to return to the user role, who launched the Remote Detailing or Self Detailing meeting.

Query Format

ctm.getUserType(userType)

userType is the user role in the Remote Detailing or Self Detailing meeting. Available responses:

  • presenter if the current user is the presenter.

  • guest if the current user is the guest.

Handler

Use a handler function to describe the output format of the query results, e.g., to display the results of operations or method errors for debugging purposes.

ctm.getUserType((userType) => ('type of user', userType);

The result:

response presenter
type of of user presenter
``