getUserDirectoryName

getUserDirectoryName

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

Peacock

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.