Skip to content

$p.userId

Overview

This explains the function to obtain the user ID of the logged-in user. Use this when you want to obtain the user ID.

How To Use

$p.userId()

Preparations

(1) Log in as the account manager and create a table.
(2) Create a new "Script" and enter the following script content.
Check "List" as the output destination and update it.

JavaScript

alert('The user ID is [' + $p.userId() + '].');

(3) Go to the list screen.