If two users are logged in to the same hosted file (from separate clients), and one of them runs a script to log off and close the file, do both users get disconnected?
If it is a hosted file, normally not.
Someone should test this...It's an interesting question.
If you are talking about a file hosted by FileMaker Server the answer is "NO". From the perspective of the person who runs the script, it would log off and close the file. The other client will continue their work unaffected.
Malcolm is correct.
For a hosted file, "closing" the file from a client connection doesn't mean that the file actually closes on the server. It just means that this client closes their connection to the file.