Article View: borland.public.cppbuilder.nativeapi
Article #10917Re: Check if the user is logged as admin...
From: Vladimir Stefanovic
Date: Sun, 21 Mar 2004 17:08
Date: Sun, 21 Mar 2004 17:08
16 lines
1818 bytes
1818 bytes
> by 'manualy' you mean system or 3rd party tools? No. I meant (manualy): Start/Settings/Control panel/Admin tools/ODBC/ SystemDSN/Add... etc. This succeds, but function SQLConfigDataSource() fails! > the worse scenario I ever seen was when the call returned > true but nothing happened. That is definitely the worst case... That's why I wanted to test Admin rights first. It's not polite to first please to user to find and select the DB and then inform him that he hasn't admin rights and that all his patience was useless...
Technical Details
Message-ID:
<405dce1c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!204.127.161.6.MISMATCH!wn12feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed.icl.net!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>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 09:39:30 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> Subject: Re: Check if the user is logged as admin... Date: Sun, 21 Mar 2004 18:08:56 +0100 Lines: 20 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.181 Message-ID: <405dce1c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079889436 213.137.116.181 (21 Mar 2004 09:17:16 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!204.127.161.6.MISMATCH!wn12feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail