I use the following @RBoy device and smartApp with my Schlage Connect:
Device: Universal Enhanced Z-Wave Lock with Alarm, Notification, RFID, Door Sensor and Advanced Features
SmartApp: Lock Multi User Management with Unlock Notifications, Advanced Scheduling and Automatic Lock/Unlock
The smartApp will let you set up User names and associate them with codes, and notify you with the name of the person associated with the code that unlocked the door.
You do have to pay for access to @Rboy 's code, but there are several other useful DTHs and smartApps available for the price of admission. And @RBoy provides support and maintains the code with fixes and updates. I’ve been very satisfied with my decision to sign up for the lifetime access.