Looks like ModelDoc.Extension.RunCommand is going to be the answer
Command 2120 fires to change the read/write access of the document in your local folder. It has nothing to do with the ownership of the document in the vault.
Click here for a simple example of a macro in PDMW. It outlines the basics of what is needed when creating a PDMW macro.