Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 371465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:07:01+00:00 2026-05-12T14:07:01+00:00

How can you impersonate a windows user in a connection to an analysis server

  • 0

How can you impersonate a windows user in a connection to an analysis server – using ADOMD.NET?

Webserver is next to Analysis server, but they are not in a domain. The webservice running on the webserver needs to access the analysis server as a specific windows account.

Is there something I can put in the connection string, or do I need to look into some kind of impersonation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:07:02+00:00Added an answer on May 12, 2026 at 2:07 pm

    Try using the Impersonator class at:

    http://www.codeplex.com/OlapPivotTableExtend/SourceControl/changeset/view/23587#288650

    You call it by doing:

    using (new Impersonator(sUsername, sDomain, sPassword))   
    {   
      AdomdConnection connCube = new AdomdConnection(sConnectionString);   
      connCube.Open();   
      //etc   
    }  
    

    The original reference for this information is:

    http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/b35ab490-9a47-4312-b9b1-c22df2348356

    I don’t want to take credit for someone elses information directly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know I can impersonate a windows account using: http://msdn.microsoft.com/en-us/library/chf6fbt4.aspx But how do I
I can not seem to get sql server to recognize my credentials. Asp.net recognizes
I have a system service running on my Windows machine that can impersonate the
Is it possible to Impersonate a user when using Forms Authentication? The thing is
How do you run another .exe from VB.NET but as another User? I expect
I have a .NET console app running on Windows Server 2003, as a scheduled
I've managed to impersonate a user successfully. Using the LogonUser Interop, e.g. [DllImport(advapi32.dll, SetLastError
I need to impersonate a user in a VB.NET 2008 WinForms application, so that
I have an ASP.NET app using Windows authentication, and I'm testing for the existence
When a user saves a file from my application, they currently can't save to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.