rbv_api.getCurrentUser()

Purpose

This function returns the JSON of field name and value pairs for the current user.

Syntax

rbv_api.getCurrentUser();

Return value

A JSON object.

Permissions Required

View permission for the requested object type.

Example

var user = rbv_api.getCurrentUser()

rbv_api.println(user["name"]);