ok, here is some code snippet. Basically you can subscribe IComObjectEvents event interface, which can give you information about a method call/method return, etc.
besides, you can use ISecurityCallContext checking role member ship
============================================
connection time
use IComObjectEvents gathers method call time, plus the security context information, you can get the component usage statistics by some specific users.