User Guide
Nitro PDF Pro
JavaScript Objects

Identity Object

This object holds information about the current user who is logged onto the machine using Nitro Pro. You can view this information in Preferences as well.

Example: This JavaScript gets the login name of the user and stores it in a global variable (called login) that can be used by any other JavaScript. Because the identity object is only permitted during the console, menu, application initialization and batch events, this would be ideal to be in a folder level JavaScript file (.js) that was executed when the application starts.

global.login = identity.loginName;

Properties
corporation
email
loginName
name
Tags
Nitro PDF Pro
Future of Work

The Nitro 2022 Productivity Report

Learn how the pandemic has transformed productivity, workflows and digital initiatives, as well as the trends and technologies shaping work in 2022 and beyond.