Edit in GitHubLog an issue

require('uxp').userInfo

Includes information about the user.

Add the below permission in your plugin's manifest.json file to use this API.

Copied to your clipboard
1"requiredPermissions": {
2 "enableUserInfo": true
3}

Since: v7.3.0

userId()

Read only Get the GUID of the plugin user

Since: v7.3.0
Example

Copied to your clipboard
1let userId = require('uxp').userInfo.userId(); // Get the GUID of plugin user
2console.log(userId); // e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.