When I try to open an office document that is already in use, I get an alert
message and I'm asked if I want to open the document in a read-only mode
because Mr. X is currently using this document.

Well, I'm trying to find out where the function that provides the name of
Mr. X is located.

Thanks