Skip to end of banner
Go to start of banner

getUserDirectoryName

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Description

Returns the directory name the user belongs to (takes user name or key as a parameter).

Parameters

Return Type

String

Returns the directory name.

Example

if (getUserDirectoryName(currentUser()) == "Confluence Internal Directory") {
    doSomethingRelatedToInternalDirectoryUsers();
}

See also

  • No labels