Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

Script out a single login including its database user info

$
0
0

Hi,

I looked around for a script which can give the CREATE LOGIN .. CREATE USER .. script for a single login. Like you already have a login in sql & just want to script it out, the SSMS, rt click, script login as just gives the initial login/user script , with no details about db roles etc, if a script gives object level permissions even better. 

Please let me know if anyone has a script for a SINGLE login with user db roles, thanks.


D


Viewing all articles
Browse latest Browse all 5123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>