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
  3. KB8579: How to Determine What Server Definition Objects are Available From the Configuration Object's Root Folder Using the MicroStrategy Intelligence Server SDK 9.4.1

KB8579: How to Determine What Server Definition Objects are Available From the Configuration Object's Root Folder Using the MicroStrategy Intelligence Server SDK 9.4.1


Community Admin

• Strategy


This tech note explains the necessary steps to retrieve all administration Server Definition Objects available through the Configuration Object.
The following sample code explains the necessary steps to retrieve all administration Server Definition Objects available through the Configuration Object. This sample code is applicable to the MicroStrategy Intelligence Server Application Programming Interface (API) in MicroStrategy Software Development Kit (SDK):

 

  1. Create and initialize an IDSSDataSource Object as follows:MyDataSource.Location = "MY_SERVER" 'Specify Server name
    MyDataSource.Port = 0
    MyDataSource.AuthMode = DssAuthStandard
    MyDataSource.login = "Administrator" 'Specify Administrator login
    MyDataSource.Passwd = "MY_PWD" 'Specify Administrator password
    MyDataSource.ProjectName = "MicroStrategy Tutorial" 'Specify Project name
    MyDataSource.Init
  2. Initialize an IDSSSession off of this DssDataSourceSet oSession = MyDataSource.CreateSession
  3. Initialize an IDSSSource of type DssRoleObjectSourceSet MySource = oSession.Component(DssRoleObjectSource)
  4. Retrieve the Configuration Root Folder. This folder contains the administration Objects as IDSSFolder ObjectsSet RootFolder = MySource.Configuration.Root
  5. The following Objects can be retrieved from the Configuration Object within the Server Definition object:

Events

Set MyFolder = RootFolder.Item(1)

Transmitters

Set MyFolder = RootFolder.Item(2)

Projects

Set MyFolder = RootFolder.Item(3)

Server Definitions

Set MyFolder = RootFolder.Item(4)

Security Roles

Set MyFolder = RootFolder.Item(5)

User Groups

Set MyFolder = RootFolder.Item(6)

Users

Set MyFolder = RootFolder.Item(7)

DBRoles

Set MyFolder = RootFolder.Item(8)

Monitors

Set MyFolder = RootFolder.Item(9)

DBLogins

Set MyFolder = RootFolder.Item(10)

Locales

Set MyFolder = RootFolder.Item(11)

Schedule Triggers

Set MyFolder = RootFolder.Item(12)

Schedule Objects

Set MyFolder = RootFolder.Item(13)

DBMS

Set MyFolder = RootFolder.Item(14)

Property Sets

Set MyFolder = RootFolder.Item(15)

Table Sources

Set MyFolder = RootFolder.Item(16)

Links

Set MyFolder = RootFolder.Item(17)

Devices

Set MyFolder = RootFolder.Item(18)

Version Update History

Set MyFolder = RootFolder.Item(19)

DBConnections

Set MyFolder = RootFolder.Item(20)

 

 



The example provided in this document is provided “as-is” and user has read the following customization warning:

ADDITIONAL INFORMATION:
The MicroStrategy SDK allows you to customize several MicroStrategy products and extend and integrate the MicroStrategy business intelligence functionality into other applications. However, before changing the way MicroStrategy products look or behave, it is helpful to understand how the application is built. For more information regarding the MicroStrategy products or the process of customizing MicroStrategy products, please refer to MicroStrategy Developer Zone (https://developer.microstrategy.com).
To access the MicroStrategy Developer Zone, you must have access to the MicroStrategy Knowledge Base, you must have purchased the MicroStrategy SDK, and you must be current on your MicroStrategy maintenance agreement. If you are a US-based business and believe that you satisfy all three of these conditions but you do not have access to the MicroStrategy Developer Zone, please contact MicroStrategy Technical Support at support@microstrategy.com or at (703) 848-8700. If you are an international business, please contact MicroStrategy Technical Support at the appropriate email address or phone number found at https://www.microstrategy.com/us/services/support/contact.

CUSTOMIZATION WARNING:
This customization is provided as a convenience to MicroStrategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, MicroStrategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, MicroStrategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. In the event of a code change in future builds, MicroStrategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about MicroStrategy Consulting assistance.

Comment

0 comments

Details

Knowledge Article

Published:

January 31, 2024

Last Updated:

January 22, 2026