I'm learning SQL with SQL Server and I've see how to create users, I've created without login:
CREATE USER Luis_Gerente WITHOUT LOGIN WITH DEFAULT_SCHEMA=dbo
CREATE USER Mario_Supervisor WITHOUT LOGIN WITH DEFAULT_SCHEMA=dbo
CREATE USER Ana_Vendedor WITHOUT LOGIN WITH DEFAULT_SCHEMA=dbo
CREATE USER Martin_Vendedor WITHOUT LOGIN WITH DEFAULT_SCHEMA=dbo
CREATE USER Carlos_Vendedor WITHOUT LOGIN WITH DEFAULT_SCHEMA=dbo
But I don't know what user I'm currently using, and with what user I've created those other users.
How can I know that, and how can I change users depending on the person who is using the database server?
I do authentication at server level but at the database level I currently do not see any effect of having users at database level. When I use the database where I created the users I don't have changes or effects.
When I start to use the database I'm not getting any prompt or form needing a specific database user to use the database with the specific privileges of that user.