Page view counter

Programmatic impersonation

Last post 01-24-2007 1:34 AM by Leijun Jie - MSFT. 2 replies.

Sort Posts:

  • Programmatic impersonation

    01-16-2007, 9:52 AM
    • Loading...
    • Maddog C
    • Joined on 08-07-2006, 10:51 AM
    • Posts 46
    • Points 71

    instead of putting

    <identity impersonate="true" userName="domain\user" password="pwd"/>

    in the web.config file to impersonate another user, I need to replicate this functionality in code. How do I do this please? 

     

     

     

  • Re: Programmatic impersonation

    01-16-2007, 11:09 AM
    Answer
    • Loading...
    • MIB426
    • Joined on 04-25-2003, 3:19 AM
    • Taiwan or Australia
    • Posts 849
    • Points 3,498

    this is exactly you need

     

    http://west-wind.com/weblog/posts/1572.aspx

    James Wu (MIB426)
    .NET is only way to go
    MCP, MCSE, MCDBA, MCSD, MCAD
  • Re: Programmatic impersonation

    01-24-2007, 1:34 AM
    Answer
    The future is now...
    Sincerely,
    LeiJun Jie
    Microsoft Online Community Support
Page 1 of 1 (3 items)