Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.
This routine is available starting with SIL Engine™ 1.0.
DescriptionReturns all the projects where this user has permission to assign or to be assigned issues.
Username or userkey of the user that is verified.
|roles||String||No||Roles the user must have.|
Returns a list of project keys where the user denoted by the specified username or userkey has permission to assign or to be assigned issues.
If the second parameter is available, it returns a list of project keys where the user is available in one of the specified roles.
Results: The following string is returned: You are allowed to work on the following projects: PRJ1, PRJ2, PRJ8. Check the values on the next row beginning with <StringPrintRoutine>.
Results: Returns an array containing the keys of all the projects where the user has permission to assign issues or has the permission issues to be assigned.
Results: Returns an array containing the keys of all the projects where the user is in role of Administrator or Developer.
- The look-up is first made after the userkey, then after the username.
- If there are no results to the invoking of the function the return will be an empty array.