getDistinguishedName (DirectoryUser - JavaScript)

Gets the distinguished name of the directory entry.

Syntax

getDistinguishedName() : string
Return value Description
string The distinguished name of the directory entry.

Usage

A distinguished name is a canonical hierarchical name: identifier=name pairs separated by slashes. For example: CN=John B Goode/OU=East/O=Acme.

Example

This computed field displays the distinguished name of the directory entry for the current user.
return context.getUser().getDistinguishedName()