Limiting number of logins per account

is there a way to limit number of logins per user