getUserDirectoryName
Description
Returns the directory name the user belongs to.
Parameters
Return Type
String
Returns the directory name.
Example
if(getUserDirectoryName(currentUser()) == "JIRA Internal Directory") {
doSomethingRelatedToInternalDirectoryUsers();
}
See also
Peacock