🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #109

Re: Problems with LogonUser API

#109
From: Darko Miletic
Date: Fri, 27 Jun 2008 14:27
11 lines
1381 bytes
DreamChaser wrote:
> Is the user actually logged on to the machine, or are you trying to 
> impersonate a user. 

As I said in my previous message I am trying to impersonate user.

>If locally logged on take a look at 
> SHGetSpecialFolderLocation()

That API is obsolete and superseeded with SHGetFolderPath. But in any 
case it does not matter since both API's need token for impersonated user.
Technical Details
Message-ID: <4864f8b4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <48599a88$1@newsgroups.borland.com> <4864863b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6c634ffce5a80c5a
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 27 Jun 2008 11:27:05 -0300
From: Darko Miletic <kiklop@fibertel.com.ar>
Reply-To: Darko Miletic <kiklop@fibertel.com.ar>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Problems with LogonUser API
References: <48599a88$1@newsgroups.borland.com> <4864863b$1@newsgroups.borland.com>
In-Reply-To: <4864863b$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.49.157.166
Message-ID: <4864f8b4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1214576820 200.49.157.166 (27 Jun 2008 07:27:00 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail