How to get the user account in plugin

We have the customized plugin. We need get the login user account. How to get it?

Is there any code for reference?

Does anyone have any idea?

@popejune,
Right now we cannot list all the current logged in users in Dremio. This will be an enhancement request.