Article View: borland.public.cppbuilder.nativeapi
Article #10918Re: Check if the user is logged as admin...
From: Vladimir Stefanovic
Date: Sun, 21 Mar 2004 18:21
Date: Sun, 21 Mar 2004 18:21
13 lines
1629 bytes
1629 bytes
> > This succeds, but function SQLConfigDataSource() fails! > did you try to run it under administrator's (built-in) account? Hm, I'm not sure. I'll check that probably tomorrow... I prepared a function IsAdmin() to compare if it is FALSE every time SQLConfigDataSource() is FALSE... If those two returns the same results that would be OK, but if it is not ... beter not to say :) Vladimir.
Technical Details
Message-ID:
<405ddf20@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40586203@newsgroups.borland.com> <4059c869@newsgroups.borland.com> <4059dd7d@newsgroups.borland.com> <4059f4b5@newsgroups.borland.com> <4059f971@newsgroups.borland.com> <405b0b96@newsgroups.borland.com> <405b0eeb@newsgroups.borland.com> <405dc86b@newsgroups.borland.com> <405dce1c@newsgroups.borland.com> <405dcf57@newsgroups.borland.com>Show 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-21 10:39:58 PST From: "Vladimir Stefanovic" <antivari@ptt.yu> Newsgroups: borland.public.cppbuilder.nativeapi References: <40586203@newsgroups.borland.com> <4059c869@newsgroups.borland.com> <4059dd7d@newsgroups.borland.com> <4059f4b5@newsgroups.borland.com> <4059f971@newsgroups.borland.com> <405b0b96@newsgroups.borland.com> <405b0eeb@newsgroups.borland.com> <405dc86b@newsgroups.borland.com> <405dce1c@newsgroups.borland.com> <405dcf57@newsgroups.borland.com> Subject: Re: Check if the user is logged as admin... Date: Sun, 21 Mar 2004 19:21:31 +0100 Lines: 17 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.116.243 Message-ID: <405ddf20@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079893792 213.137.116.243 (21 Mar 2004 10:29:52 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail