getProjectIdByKey

Description

Retrieves the id for the project with the given key.

Parameters

Return Type

String

The return value is a string representing the project id.

Example

Project with id "10000" has the key "DEMO".

return getProjectIdByKey("DEMO");

Result: 10000

See also

Peacock