🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

users on Win NT

#10242
From: Daniele Borini
Date: Fri, 07 May 2004 08:45
6 lines
1128 bytes
hi,
how can i detect the user type and/or priviligies in win NT? I mean, i'd 
like to know if a user is or has administrator priviligies, i tried to 
check if username is "administrator" but it's not enough..
Someone can help me??
10x Daniele
Technical Details
Message-ID: <409b4c9e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,45cc2a6f6ff5d963,start
X-Google-Attributes: gid10cc67,public
Date: Fri, 07 May 2004 10:45:11 +0200
From: Daniele Borini <borini@infinito.it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.6) Gecko/20040113
X-Accept-Language: it, en, en-us
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: users on Win NT
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.94.69.140
Message-ID: <409b4c9e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1083919518 62.94.69.140 (7 May 2004 01:45:18 -0700)
Lines: 6
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail