rbv_api.getCurrentPortalUserId()

Purpose

This function returns the id of the current portal user.

Syntax

rbv_api.getCurrentPortalUserId();

Return value

A long value.

Permissions Required

View permission for the requested object type.

Example

var id = rbv_api.getCurrentPortalUserId()

rbv_api.println(id);