MicroStrategy ONE

Take Ownership statement

Takes the ownership of an object (configuration, application/schema, or folder).

Copy
TAKE 
 OWNERSHIP FOR (conf_object_type 
 "conf_object_name"| (project_object_type 
 "project_object_name"| FOLDER 
 "folder_name" [RECURSIVELY]) 
 IN FOLDER "location_path" FOR 
 PROJECT "project_name");

where:

  • conf_object_type is the type of configuration object, from the following list: DBINSTANCE, DBCONNECTION, DBLOGIN, SCHEDULE, USER, GROUP, EVENT.

    • "conf_object_name" is the name of the configuration object for which ownership is to be changed, of type string.

  • project_object_type is the type of application/schema object, from the following list: REPORT, DOCUMENT, PROMPT, SECFILTER, CONSOLIDATION, CUSTOMGROUP, DRILLMAP, FILTER, METRIC, SEARCH, TEMPLATE, FACT, HIERARCHY, ATTRIBUTE, FUNCTION, PARTITION, TABLE, TRANSFORMATION, SUBTOTAL, AUTOSTYLE, SHORTCUT.

    • "project_object_name" is the name of the project object for which ownership is to be changed, of type string.

  • FOLDER "folder_name" is the name of the folder for which ownership is to be changed, of type string.

    • RECURSIVELY indicates that all objects in the folder, including other folders, are to have their ownership changed as well.

  • FOLDER "location_path" is the folder path where the application/schema object or the folder is located, of type string.

  • PROJECT "project_name" is the name of the project where the configuration object, application/schema object, or folder is located, of type string.

Example

Copy
TAKE OWNERSHIP FOR FOLDER "Subtotals" RECURSIVELY 
 IN FOLDER "\Project Objects" FOR PROJECT "MicroStrategy 
 Tutorial";