🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Get user SID with LookupAccountName

#745
From: mataus
Date: Wed, 23 Jan 2008 23:55
9 lines
1117 bytes
Helo everyone.

I have problem - I nned to get a users SID (as text) where i have username. 
I no i use LookupAccountName api but i am confussed with the syntax - does 
anyone have code to do this?

Many thanks

Mataus 
Technical Details
Message-ID: <4797d1c8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4137c5655902c5b4,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "mataus" <mataus@gmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Get user SID with LookupAccountName
Date: Wed, 23 Jan 2008 23:55:33 -0000
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.3959
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 89.242.138.160
Message-ID: <4797d1c8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201131976 89.242.138.160 (23 Jan 2008 15:46:16 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail