I have added few users from stsadm command line like below:
stsadm -o adduser -url "http://siteURL" -userlogin "mydomain\testuser" -useremail "email@example.com" -role "Full Control" -username "Test User"
The user has been added successfully, and also the permission levels are also assigned. But when the user try to login. It is showing: Sorry, this site hasn’t been shared with you.
Any way I can debug more?