🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WHat is my account type

#3562
From: Bob Gonder
Date: Sun, 28 May 2006 16:27
10 lines
1231 bytes
Jos� wrote:

>Is there a system call which tells me whether I am signed on as an
>administrator or as a limited user?

You might look at

BOOL IsUserAnAdmin(VOID);

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/isuseranadmin.asp
Technical Details
Message-ID: <tpjj72521rchcr889v2gh8lud2mlqpnf6q@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <lko372tv8d3pmfa8aljurjaqc4st3e5g9n@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,283096f94514b8ce
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: WHat is my account type
Date: Sun, 28 May 2006 09:27:23 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <tpjj72521rchcr889v2gh8lud2mlqpnf6q@4ax.com>
References: <lko372tv8d3pmfa8aljurjaqc4st3e5g9n@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 69.69.84.177
X-Trace: newsgroups.borland.com 1148833640 69.69.84.177 (28 May 2006 09:27:20 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail