projectsWithPermissionForUser
Description
Retrieves the project keys where the given user has the given permission.
Parameters
Return Type
String[]
The return value is a string array containing all the project keys where the given user has the given permission.
Example
return projectsWithPermissionForUser("admin", "ADMINISTER_PROJECTS"));
Result: DEMO|ITSD|TST