cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

ACL to get Editor startup command arguments

BrianJ
3-Visitor

ACL to get Editor startup command arguments

I sent this via email a while ago but don't see it showing up. If you get multiple versions of this I apologize.


Inside ACL code I'd like to see if the Editor session was started as read-only. I can see whether the specific documents are read-only using the doc_read_only() function, but it will return 0 (not read-only) for a given doc when Editor was started with the -r switch (session read-only) and that doc had doc_read_only(doc, 0) called on it, even though the session state seems to take precedence.

I can't seem to find anything in ACL or in the API for other languages like Java that indicates whether Editor was started as read-only. I also looked for something that would return the command line string that started Editor so I could search for "-r" in that string, but I can't seem to find anything like that, either. Any ideas?

0 REPLIES 0
Top Tags