GET http://IP-address:port/prefix/currentuser
Sample response:
{ "currentuser": "root" }