Home
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Newsgroups
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework
Impersonate call fails even after duplicating token
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Guest, post: 3676851"] I should probably clearify a few things after doing some further testing... I simplified my code, but what i am actually doing is passing the WindowsIdentity VIA remoting and calling the impersonate method on the other end. The code exactly as i have it in the previous post does work, but moving that impersonate call to another method does not. I actually get two errors: "Unable to impersonate user", or randomly i will get this error: "A WindowsIdentity object cannot be serialized across processes" My OS is Windows 2000 Sp4 with IIS 5, the main code that i posted runs in a console app, and i have a Web form that calls it via remoting to retrieve the WindowsIdentiy, then impersonate the user. [/QUOTE]
Verification
Post reply
Home
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework
Impersonate call fails even after duplicating token
Top