Skip to end of banner
Go to start of banner

isUserAdmin

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

Version 1 Next »

Availability

This routine is available starting with SIL Engine 4.8.0.4.

Syntax

isUserAdmin(username)

Description

Determines if a provided user has administration privileges in the current Jira environment.

Parameters

Parameter name

Type

Required

Description

username

string

Yes

The username of the user to validate.

Return type

boolean

Returns true if the username is a valid administration user. False otherwise.

Example

return isUserAdmin(currentUser());

return isUserAdmin("jsmith");
  • No labels