Article View: borland.public.cppbuilder.nativeapi
Article #10838Check if the user is logged as admin...
From: Vladimir Stefanovic
Date: Wed, 17 Mar 2004 14:26
Date: Wed, 17 Mar 2004 14:26
9 lines
1107 bytes
1107 bytes
How can I check if the user is logged with administartor rights or as Administrator? I need this because it seems that the function SQLConfigDataSource() for managing ODBC connections from code cannot create ODBC if the user is not logged as administrator... Vladimir.
Technical Details
Message-ID:
<40586203@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,91576aaf7b7d46ad X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-17 06:40:22 PST From: "Vladimir Stefanovic" <antivari@ptt.yu> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Check if the user is logged as admin... Date: Wed, 17 Mar 2004 15:26:48 +0100 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 213.137.118.125 Message-ID: <40586203@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079534083 213.137.118.125 (17 Mar 2004 06:34:43 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail