Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1750
How to use XmlaDataSource.Credentials with Windows Authentication ?
posted

Hi,

I want to ask you how to use XmlaDataSource.Credentials with Windows Authentication ?

My connection is like :  

XmlaDataSource _XmlaDataSource = new XmlaDataSource()

            {    ServerUri = new Uri(objApp.ExternalServerUri), 

               Database = XmlaDataSource.GenerateInitialDatabase(objApp.Database),

                Cube = XmlaDataSource.GenerateInitialCube(CubeName),

                Columns = XmlaDataSource.GenerateInitialItems(objApp.Columns),

                Rows = XmlaDataSource.GenerateInitialItems(objApp.Rows),

                Measures = XmlaDataSource.GenerateInitialItems(objApp.Measures)

            };

A problem to use the method XmlaDataSource.Credentials is that the system during runtime doesn't know the password, but only know the Username and the domain.

Regards,

D.

Parents Reply Children
No Data