473,246 Members | 1,563 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

Invalid helptext IPermission.IsSubSetOf

The IPermission.IsSubSetOf helptext states:


IPermission.IsSubSetOf :
<------------ BEGIN PASTE ------------->
The current permission is a subset of the specified permission if the
current permission specifies a set of operations that is wholly
contained by the specified permission. For example, a permission that
represents access to C:\example.txt is a subset of a permission that
represents access to C:\. If this method returns true, the current
permission represents no more access to the protected resource than
does the specified permission.

The following statements are required to be true for all
implementations of the IsSubsetOf method. X, Y, and Z represent
IPermission objects that are not a null reference (Nothing in Visual

1) X.IsSubsetOf(X) returns true.
2) X.IsSubsetOf(Y) returns the same value as Y.IsSubsetOf(X) if and
only if X and Y represent the same set of permissions.
3) If X.IsSubsetOf(Y) and Y.IsSubsetOf(Z) both return true,
X.IsSubsetOf(Z) returns true.

<------------ END PASTE ------------->

The second statement seems to be wrong:

EXAMPLE: If X gives access to C:\ and Y gives access to D:\. Clearly, X
is no subset of Y and vice verca. Therefore, these are not subsets of
eachother: X.IsSubsetOf(Y) returns false and Y.IsSubsetOf(X) returns
false. According to the second statement this would mean that y and X
represent the same set of permissions.

Shouldn't this second statement state:

2) X.IsSubsetOf(Y) returns TRUE and Y.IsSubsetOf(X) return TRUE if and
only if X and Y represent the same set of permissions.

A response to this message is greatly appreciated.

Martijn Kaag

Jul 21 '05 #1
0 795

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Dick Hob | last post by:
I'm using Access2000 on a Windows2000 pc. When is try to look up help text concerning "ADO" I get 185 responses, but when I select a specific subject I get no corresponding helptext. Does...
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
by: Martijn Kaag (VECOZO BV) | last post by:
The IPermission.IsSubSetOf helptext states: http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/winfx/ref/ns/system.security/i/ipermission/m/issubsetof.asp]...
by: robert | last post by:
On a server the binary (red hat) installed python2.4 and also a fresh compiled python2.5 spits "sem_post: Invalid argument". What is this and how can this solved? Robert ============== ...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.