rbv_api.getCurrentUserId()

Purpose

This function returns the id of the current user.

Syntax

rbv_api.getCurrentUserId();

Return value

The ID of the current user.

Permissions Required

View permission for the requested object type.

Example

var id = rbv_api.getCurrentUserId()
rbv_api.println(id);