getUserDirectoryName
Syntax | getUserDirectoryName(user) | Package |
|
Alias |
| Pkg Usage |
|
Description
Returns the directory name the user belongs to.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
user | String | Yes | User name or key. |
Return Type
String
Returns the directory name.
Example
if(getUserDirectoryName(currentUser()) == "JIRA Internal Directory") {
doSomethingRelatedToInternalDirectoryUsers();
}See also
Need support? Create a request with our support team.
Copyright © 2005 - 2026 Appfire | All rights reserved.