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 2 Next »

Availability

This routine is available starting with SIL Engine™ 2.6.11/2.5.19.

Syntax

getUserDirectoryName(user)

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

Example 1

if(getUserDirectoryName(currentUser()) == "JIRA Internal Directory") {

	doSomethingRelatedToInternalDirectoryUsers();
}


See also

  • No labels