If you look for active users (i.e., those registered with a SIP phone at that moment):
kamctl ul show
The above command will print the list of records in user location table from Kamailio memory.
If you look for provisioned users (i.e., users having a subscriber profile):
kamctl db show subscriber
The above command will print the content of database table subscriber where user profiles are stored.