RE: WindowsIdentity.Impersonate() fails
From: Dominick Baier (dotnet_at_leastprivilege.com)
Date: 12/20/04
- Next message: Eugene Mayevski: "Re: Signing text file (.txt)"
- Previous message: Marek: "Signing text file (.txt)"
- Maybe in reply to: Dominick Baier: "WindowsIdentity.Impersonate() fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: microsoft.public.dotnet.security Date: Mon, 20 Dec 2004 03:06:37 -0800
in the local security policy - user rights assignment...
---
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
i am afraid , where can i find whether the account has that privilege or not.
"Dominick Baier" wrote:
> Does the account that tries to impersonate hold the "Impersonate after Authentication" privilege?
>
>
>
> ---
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
> nntp://news.microsoft.com/microsoft.public.dotnet.security/
>
> Hi,
>
> i am using LogonUser function with LOGON32_LOGON_INTERACTIVE and other
> parameters. using DuplicateToken function with securitypermissions = 2 and
> creating WindowsIdentity object with the duplicatetoken obtained from
> DuplicateToken function.
> i am trying to impersonate but is gives error saying "unable to
> impersonate", i would like to know all the reasons why
> windowsIdentity.Impersonate() fails saying "Unable to impersonate".
>
> Thanks
> Ravi
> ravib
>
> [microsoft.public.dotnet.security]
>
[microsoft.public.dotnet.security]
- Next message: Eugene Mayevski: "Re: Signing text file (.txt)"
- Previous message: Marek: "Signing text file (.txt)"
- Maybe in reply to: Dominick Baier: "WindowsIdentity.Impersonate() fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|