How to get list of users connected to file sharing?
You can open Activity Monitor and the right-most column of the displayed data is Users. Click on users to sort the data by user. You can then see who all is on the computer. This method was explained in the OSX Daily article found here.