Hi Denise
Basically, you have to implement the backend API to retrieve user information. for instance for xs web ide. they have /sap/hana/xs/ide/editor/server/dbinfo.xsjs
You can try it too. Login to your HANA instance and then type http://<host>:<port>/sap/hana/xs/ide/editor/server/dbinfo.xsjs
on the browser address bar.
-Dennis