rbv_api.getCurrentPortalUserId()

Purpose

This function returns the id of the current portal user.

Syntax

rbv_api.getCurrentPortalUserId();

Return value

The ID of the current portal user.

Permissions Required

View permission for the requested object type.

Example

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