Skip to end of banner
Go to start of banner

isTeamLeader

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 »

Description

Verifies if the specified user is a team leader on the project (if it is a component lead).

Parameters

Return Type

Boolean

A "true" return value means that the specified user is component lead on at least one component of the specified project.

Example

//Team leaders of the current project are : TM1 and TM2
isTeamLeader(project, currentUser());

Returns "true" if the current user is TM1 or TM2 and "false" if the current user is other than TM1 or TM2.

See also

  • No labels