rbv_api.getCurrentUserId()

Purpose

This function returns the id of the current user.

Syntax

rbv_api.getCurrentUserId();

Return value

A long value.

Permissions Required

View permission for the requested object type.

Example

var id = rbv_api.getCurrentUserId()

rbv_api.println(id);