EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB40525: How to save scripts or procedures with encryption in MicroStrategy Command Manager.


Community Admin

• Strategy


The knowledge base article describes how to save scripts or procedures with encryption in MicroStrategy Command Manager.

Strategy Command Manager introduces the ability to save scripts with encryption. This can be done by choosing the 'Save as Encrypted Script' option from the File menu, as shown:

ka04W00000147tjQAA_0EM44000000A71K.png

The user is then prompted to enter a password after selecting the location of the script file and the save button, as shown

ka04W00000147tjQAA_0EM44000000A71U.png

 
This password will be used for decrypting the script and will need to be entered when attempting to open the script within Strategy Command Manager.
 
Users can run the Strategy Command Manager script without the need for decryption. However, the script can only be opened and modified after decrypting it, which would require its password.
This feature gives system administrators the ability to allow non-administrator users to simply run the script, without needing to know the metadata administrator user credentials. The connectivity information to the Strategy Intelligence Server can be specified using the 'CONNECT SERVER' outline within the script, as shown:


Sample Code/Error
CONNECT SERVER "<server name>" USER "Administrator" PASSWORD "<password>";

<Required Strategy Command Manager outlines>

DISCONNECT SERVER;

Such a script can then be encrypted and provided to non-administrator users, who can run it by using a connection-less project source session as described in the following Strategy Knowledge Base article:
KB31466 : How to establish a "connectionless" session in Strategy Command Manager 9.x from a command line interface?
Article Reference Number:  KB40525


Comment

0 comments

Details

Knowledge Article

Published:

March 31, 2018

Last Updated:

December 31, 2018