How would I find the name of the user invoking chaincode in hyperledger?
in v0.5 this information was included in the transaction certificate however in v0.6 the 'common name' attribute has been changed to just say "Transaction Certificate" - the name has been removed.
This is totally intentional to exclude enrollID
from the subject of transaction certificate this is because tcerts
are used for unlinkability.
You can read this for more information.