🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Assistance with AccessCheck() requested

#2137
From: Bob Gonder
Date: Wed, 11 Apr 2007 13:25
22 lines
1756 bytes
Andrue Cope wrote:

>Hiya,

Hey m8.

>problem is that when I call AccessCheck() it always indicates that I
>have no permission to do anything. More oddly it indicates that it
>determined this without reference to any privilege
>(PRIVILEGE_SET.PrivilegeCount is zero).

I'm sorry I have no experience in this, but reading the doc on
AccessCheck, it looks like it would be extreemely easy to not get the
parameters right.

From this:
"...receives the privileges used to perform the access validation. If
no privileges were used... "
It sounds like it didn't need to *use* any privilage sets to answer
the querry. Maybe because the question didn't actually ask anything?

Perhaps some actual code would help others rule that out?
Technical Details
Message-ID: <remp1315lj4ontsa4qtu32e9rm0matb6rr@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <461cd310$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8e080841c8729530
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Assistance with AccessCheck() requested
Date: Wed, 11 Apr 2007 06:25:40 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <remp1315lj4ontsa4qtu32e9rm0matb6rr@4ax.com>
References: <461cd310$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.88.78
X-Trace: newsgroups.borland.com 1176297938 69.69.88.78 (11 Apr 2007 06:25:38 -0800)
Lines: 24
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail