That’s a great use case @antoinebilgin! In this context, your request makes sense, since it sounds like your needs go beyond just reporting inappropriate behaviour.
It’s a bit complex to implement with the current ORA2 code though – each assignment submission is tied to an anonymized student ID. Sorry to get technical here, but to get to the actual username, we’d need a platform API to give us this information, and then be very careful about when and where this function could be called. We don’t want any learner in any XBlock to be able to invoke this at any time. Would require some care and consultation to implement safely.