While deleting logins, there might be a possibility that there are users in databases along with chances that they own schemas in those databases.
Is there a way to find this out with a single
This is the warning message I get:
Deleting server logins does not delete the database users associated with the logins. To complete the process, delete the users in each database. It may be necessary to first transfer the ownership of schemas to new users.