Are you talking about capturing logged in user name from application where injection is done through browser extension? If yes then you can captured that, the process remain same as normal RUM monitoring. See below documentation
Basically you need to identify the JS variable, CSS selector, Cookie, meta tag and request attribute that expose/store the user name. Once you identified then configure that in user tag setting>> under Application setting and you will be able to capture the name.