Skip to content

$p.userName

Overview

This explains the function for getting the logged-in user's name. Use this when you want to get the logged-in user's name.

Syntax

$p.userName()

Usage Examples

(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('Your login ID is [' + $p.userName() + '].');

(3) Go to the list screen.