xmla

SSAS XMLA DISCOVER: how to get list of roles in SSAS database

丶灬走出姿态 提交于 2021-02-11 17:41:46
问题 I am trying to get a list of roles existing in an SSAS DB using XMLA. I need only roles, not other information. I know there is a <RequestType>DISCOVER_XML_METADATA</RequestType> : <Discover xmlns="urn:schemas-microsoft-com:xml-analysis"> <RequestType>DISCOVER_XML_METADATA</RequestType> <Restrictions> <RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis"> <DatabaseID>SSAS_DB_ID</DatabaseID> </RestrictionList> </Restrictions> <Properties> <PropertyList> </PropertyList> </Properties>

SSAS XMLA DISCOVER: how to get list of roles in SSAS database

≡放荡痞女 提交于 2021-02-11 17:41:21
问题 I am trying to get a list of roles existing in an SSAS DB using XMLA. I need only roles, not other information. I know there is a <RequestType>DISCOVER_XML_METADATA</RequestType> : <Discover xmlns="urn:schemas-microsoft-com:xml-analysis"> <RequestType>DISCOVER_XML_METADATA</RequestType> <Restrictions> <RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis"> <DatabaseID>SSAS_DB_ID</DatabaseID> </RestrictionList> </Restrictions> <Properties> <PropertyList> </PropertyList> </Properties>

Connect to SSAS OLAP Cube Using Python

你离开我真会死。 提交于 2021-02-10 18:42:02
问题 Looking for resources to learn how to connect and fetch data from SSAS OLAP Cube. Found I can do it with XMLA lib, but found no resources to explore and learn. 回答1: If you want to use python to connect SSAS cube, you could refer to SSAS via Python and olap.xmla for more details. Zoe 来源: https://stackoverflow.com/questions/53607258/connect-to-ssas-olap-cube-using-python

Run xmla file (Analysis Services) from command line

妖精的绣舞 提交于 2019-12-24 14:37:44
问题 I'm looking for tool or a easy way to run xmla script (example for create or delete cube). I used to make exe file using Inno Setup program and there I can write command which can run another exe file just like in command line. I found that there is such tool such as ascmd.exe (Readme For Ascmd Command-line Utility Sample). But it was used in older versions of MS SQL. Is there any other for MS SQL Server 2012 and newer versions? I can say that I wasn't use ascmd.exe tool because I wasn't able

Add new users in SSAS security

一曲冷凌霜 提交于 2019-12-20 02:36:12
问题 I want to add users in SSAS security using following XMLA script. DECLARE @CreateUserInSsasXMLA VARCHAR(MAX) = '<Batch AllowCreate="true" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine" Transaction="true"> <Alter ObjectExpansion="ObjectProperties" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"> <Object /> <Object> <RoleID>Administrators</RoleID> </Object> <ObjectDefinition> <Role xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org

Deploying SSAS cube to environments

為{幸葍}努か 提交于 2019-12-08 08:10:20
问题 We are using BIDS 2008 locally (on our workstations) to develop our OLAP objects/cube. Come the time of promotion to Development we can deploy via BIDS. However when a hands-off deployment is required (eg. to UAT or Live) we are generating an XMLA file. This (the generated XMLA file) of course contains environment specific information (eg server name, database name, etc). If we would like to automate the generation of the XMLA file for deployment to each environment, is there a config type

Deploying SSAS cube to environments

牧云@^-^@ 提交于 2019-12-08 00:26:27
We are using BIDS 2008 locally (on our workstations) to develop our OLAP objects/cube. Come the time of promotion to Development we can deploy via BIDS. However when a hands-off deployment is required (eg. to UAT or Live) we are generating an XMLA file. This (the generated XMLA file) of course contains environment specific information (eg server name, database name, etc). If we would like to automate the generation of the XMLA file for deployment to each environment, is there a config type process to parameterise these values (like .NET : web.config : appSettings or SSIS : dtsConfig). Note we

XMLA/SOAP command from a bash shell

孤人 提交于 2019-12-04 05:16:19
问题 I need to call the management API from icCube from withing a bash shell. What is the easiest way for sending a SOAP command like : <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Execute xmlns="urn:schemas-microsoft-com:xml-analysis"> <Command> <Statement xsi

XMLA/SOAP command from a bash shell

℡╲_俬逩灬. 提交于 2019-12-02 03:45:27
I need to call the management API from icCube from withing a bash shell. What is the easiest way for sending a SOAP command like : <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Execute xmlns="urn:schemas-microsoft-com:xml-analysis"> <Command> <Statement xsi:type="xsd:string">'"$command"'</Statement> </Command> </Execute> </soap:Body> </soap:Envelope> On top,

Add new users in SSAS security

﹥>﹥吖頭↗ 提交于 2019-12-01 20:58:45
I want to add users in SSAS security using following XMLA script. DECLARE @CreateUserInSsasXMLA VARCHAR(MAX) = '<Batch AllowCreate="true" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine" Transaction="true"> <Alter ObjectExpansion="ObjectProperties" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"> <Object /> <Object> <RoleID>Administrators</RoleID> </Object> <ObjectDefinition> <Role xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns