Hi Rohit
Are you trying to find out the connections or sessions related to some client? Those are two very different things, with sessions being introduced in MongoDB 3.6.
In terms of connections, there is currently no method to list them by user or addresses from within the mongo shell. Having said that, the information are present in the mongod log files and can be extracted by the mloginfo tool which is part of the mtools suite of tools. The mloginfo --connections <log file> command would show an output similar to:
$ mloginfo --connections mongod.log
source: mongod.log
host: unknown
start: 2018 Mar 21 23:15:09.065
end: 2018 Mar 22 00:14:47.980
date format: iso8601-local
length: 3493
binary: unknown
version: >= 3.0 (iso8601 format, level, component)
storage: unknown
CONNECTIONS
total opened: 449
total closed: 359
no unique IPs: 12
socket exceptions: 1
192.168.111.86 opened: 110 closed: 89
192.168.112.161 opened: 108 closed: 80
192.168.114.86 opened: 107 closed: 85
....
However please note that this tool was not designed to show this information in real-time.
Best regards
Kevin