Script Login Roles Permissions in all DBs _SQL2005

Usage -Populate @list variable below with account(s),comma delimited list to script. -Save output to recreate:Login,Default DB,Server Roles,DB Access,DB Roles,DB Object Permissions. -- NOTE: -Stored procedures are created in Master, but are deleted -to limit by database see section /*Get a table with dbs where login has access*/ and change the where clause -to script all […]

4.75 (8)

2007-02-01 (first published: )

4,419 reads

Script Login Roles Permissions in all DBSs

Populate @list variable with account(s) to script. Save output to recreate:Login, Password,Default DB,Server Roles,DB Access,DB Roles,DB Object PermissionsDB level permissions are scripted in all databases. Can recreate a single login, or accepts comma delimted list of logins.NOTE:Stored procedures are created in Master, but are deleted

2006-01-19 (first published: )

1,682 reads

Blogs

Azure Analysis Services – Processing Hot & Cold Data using Tabular model partitions

By

Introduction Recently have been working on a “Proof of Concept” task where I wanted...

Extracting data from Common Data Services (Microsoft Dynamics 365) using Azure Data Factory

By

(2020-Mar-30) Little did I know that I can use Azure Data Factory (ADF) to extract...

Probing Columnstore Indexes

By

In this article, our focus will be to test, the performance benefits of columnstore...

Read the latest Blogs

Forums

Regarding for Microsoft Azure Certification

By Ankitdixit

Hello Everyone, I am new here and I am preparing for microsoft azure certification...

Parameter has any limit or size?

By ravisankar

Hi I have created report with Cascading parameter (Multivalued), Is there any limit or...

Newbie. Up date Table

By MrToad

Hi. New to SQL. There is a field I want to change within our...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers