Ranjana,
AFAIK the answer to your is question is "Not Possible".
But to open the VM console you should have exclusive rights on ESXi server,if you are trying to open up the console through vSphere client or there should be a user who has the permission to open the VM consoles defined in the vCenter Server. In both the cases you can find out who all as accessed the consoles from the Tasks & Events tab.
But is there any practical needs for your request?
~dGeorgey