onstat -g ses shows only the sessions...
onstat -u shows also session's threads,
If your application connects with only one user name, you can't find out, which session is user1, user2 etc.
But in generally, one session stands for one user(also depends on your application). If your users are connecting from different hosts, column 'hostname' in 'onstat -g ses' may help you.