User154448021 posted
i have a MDX query as below
select * from OpenRowset('MSOLAP','DATA SOURCE=dev-as01; Initial Catalog=published cube with virtual cubes;','SELECT NON EMPTY { [Measures].[Last Month C], [Measures].[Last 3 Months C], [Measures].[Last 12 Months C] } ON COLUMNS, NON EMPTY { [KeyLoc CityState].[Citystate].ALLMEMBERS
} ON ROWS FROM [Master Cube for SIMS asof 071017] where(([Bi Type Of Bill].[Bi Type Of Bill].[O]), ([Consistent Name].[Consistent Name].[borders]))')
within a stored procedure
i can run it successfully because i am an administrator of all the servers.
i have created a user with permissioin to login in with windows credentials (the user has to use windows credentials to access databases) to all the servers and permission to execute stored procedures. but when log in as the user, I got error
message that says the user has insufficient permission to run this query.
what is the minimum permission to run the above query? the user is able to run other stored procedures that do not contatin OpenRowset.
I'll appreciate all your helps.