In the Integrity Client there is "View Projects" menu to see all the Projects in Projects View GUI.
What is the corresponding CLI for listing all the Projects?
"si projects" command displays all the projects available on the Server or only the projects for which currently logged in user has permission?
If it is based on Permission, then what is the permission name?
"si projects" from the CLI, is just like when you list the projects from within the GUI - it will list all the projects registered to the currently connected server.
The presentation of this list of projects, can be controlled by the si.default.filterTopLevelProjects property (configurable from the si.properties file, for the Integrity server).
By default, it will list all projects.
But you can also change it, so that it will only present a list of projects that the current user has "OpenProject" permissions for.
ex (from si.properties).
# Should the "OpenProject" permission be used to filter the registered project
# list before it is displayed to the client?
# (for the main server)
# (for an FSA server)
One could change it to be true.
How does the system define si.default.filterTopLevelProjects for various projects?
Assuming I don't change anything in the Server from present status, I see multiple subprojects also but not all.
So, according to you only TopLevelProjects are displayed with "si projects" command.
Question is what is the definition of TopLevelProjects from the view point of "si projects" command?
Any information will be helpful for my understanding.
It's an overall, general property - not specific to any particular projects.
It either allows people to see the list of registered projects on the server, including ones they don't have "OpenProject" permission to, or not.
Can you please tell me CLI command to view the Project Information for a particular Project which will show the OpenProject Permission as well as TopLevelProject property value.
I'm not sure I fully understand what you're asking now. It might be good to open a Support Case, if you have further questions.
The 3 things you mention here, are distinct, and wouldn't be output from the same CLI command.