rbv_api.getCurrentPortalUser()
Purpose
This function returns the JSON of field name and value pairs for the current portal user.
Syntax
rbv_api.getCurrentPortalUser();
Return value
A JSON Object.
Permissions Required
View permission for the requested object type.
Example
var portalUser = rbv_api.getCurrentPortalUser()
rbv_api.println(portalUser["name"]);