๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Optain the owner of a file on win xp ?

#1213
From: Remy Lebeau (TeamB)
Date: Tue, 09 Oct 2007 09:13
12 lines
1172 bytes
"Asger J๏ฟฝrgensen" <junk@Asger-P.dk> wrote in message
news:MPG.21755c2df166d99b98983c@newsgroups.borland.com...

> Is it possible to get the username who have created
> a certain file on win xp, win2k and vista (not server) ??

Look at GetFileSecurity(), GetSecurityDescriptorOwner(), and
LookupAccountSid().


Gambit
Technical Details
Message-ID: <470b4657$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <MPG.21755c2df166d99b98983c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7b60148a7b6c5927
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <MPG.21755c2df166d99b98983c@newsgroups.borland.com>
Subject: Re: Optain the owner of a file on win xp ?
Date: Tue, 9 Oct 2007 02:13:04 -0700
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.29.61
Message-ID: <470b4657$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1191921239 75.83.29.61 (9 Oct 2007 02:13:59 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail