How to check with a macro, if project has been opened as readonly

Hello,

currently, I'm working on a macro which should do something with an already opened project ("Set project = PSL.ActiveProject").
The Passolo version is 22.0.116.0.

My question, now, is: How can I check with the macro, if the project has been opened as ready only? (for example, opend with "pslSharedReadOnly" before).

Unfortunately, I didn't find information about that in the automation documentation.

Thank you very much in advance for your support.

Kind regards and have a great day.

Nils

emoji