Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Creating Mutliple Logins

$
0
0
I had a need to test something recently and wanted to create multiple logins. Other than using a batch like this:[code="sql"]CREATE LOGIN TestUser1 WITH PASSWORD = 'UserT3stUn0';CREATE LOGIN TestUser2 WITH PASSWORD = 'UserT3stD0s';CREATE LOGIN TestUser3 WITH PASSWORD = 'UserT3stTr#s';CREATE LOGIN TestUser4 WITH PASSWORD = 'UserT3stQuatr0';CREATE LOGIN TestUser5 WITH PASSWORD = 'UserT3stCinc0';[/code]Are there any suggestions for how to do this? Since it's security, I'm guessing any need for this would be using an Excel sheet or flat file with names/pwds and driving a CREATE LOGIN batch or PoSh from that.

Viewing all articles
Browse latest Browse all 3145

Trending Articles