Re: Framework v1.1 & LogonUser workaround
From: Bill Belliveau (anonymous_at_discussions.microsoft.com)
Date: 01/28/04
- Next message: Shriop: "Re: Network Credentials not passing in Authentication mode"
- Previous message: David Pyper: "Re: Problem with web.config access-restricted subdirectory"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: Framework v1.1 & LogonUser workaround"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 Jan 2004 15:21:05 -0800
Thanks again
Bill
----- Joe Kaplan (MVP - ADSI) wrote: -----
My apologies, but you are right, there is no constructor like that. For
some reason I remembered seeing that in the reference, but it is fact not
there at all. I claim temporary insanity!
I guess it is back to LogonUser. Sorry about that.
FWIW, there is a nice sample of calling LogonUser via P/Invoke in VB.NET and
C# here. It is much better than the sample they published for Framework
1.0:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPrincipalWindowsImpersonationContextClassTopic.asp?frame=true
Good luck,
Joe K.
- Next message: Shriop: "Re: Network Credentials not passing in Authentication mode"
- Previous message: David Pyper: "Re: Problem with web.config access-restricted subdirectory"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: Framework v1.1 & LogonUser workaround"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|