Bruce Jay Mack - iCIS Knowledge base and Collaboration WikiWiki
Welcome
Guest
, you are in:
<root>
iCIS
PTC
•
Login
Test Wiki
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
Administration
File Management
Create Account
Search the wiki
»
Discuss (0)
View Page Code
History
Attachments
Client Database Utility Scripts
Print
RSS
Modified on 03/22/2017 03:13
by
Administrator
Categorized as
Database
,
Utilities
Databases
Support Techs
Developers
Databases
Support Techs
Developers
»
Client Database Utility Scripts
[X]
»
Client Database Utility Scripts
Client Database Utility Scripts and Procedures
¶
Database
»
Client Database Utility Scripts
Backup and restore client security settings
When to use this script
Use this script to backup client security settings before rebuilding the security setup data for the version of the solution being used. You can use the output this script to later restore the security setting
How to get the script: (this link will only work from in the software provider domain so that only
SupportTechs
and
Developers
can access it: "\\aSoftwareServer\UilityScripts\util - copy security settings.sql' - If you are using VPN to get to the server you may need to use the IP address instead of the computer name becuase we come through another domain (?.?.?.4) where ? is likely the same as your machine (run->cmd ipconfig.exe)
How to use this script
For this script to work in SQL Server Management Studio the default max number of characters to display for each column must be increased. You need bring up the options dialog using the tools menu (Tools->Options…)
Expand “Query Results”
Expand “SQL Server”
Select “Results to text” (that refers to the highlighted button in the image below. You need to have it selected as shown too)
Change max characters… from 256 or whatever it is to something big like 2000
When you’re ready to save off the permissions run the script and save the text in the results window to a script file.
When you’re ready to restore the permissions run that script file.
Name
Size
util_iCIS_copy_settings_instructions.png
16.25 KB
ScrewTurn Wiki
version 3.0.5.600. Some of the icons created by
FamFamFam
.