Location: Symbol Reference > Classes > TJwSystemMandatoryAccessControlEntry Class > TJwSystemMandatoryAccessControlEntry Methods > TJwSystemMandatoryAccessControlEntry.Compare Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSystemMandatoryAccessControlEntry.Compare Method
Pascal
function Compare(const MandatoryLabel: TJwSystemMandatoryAccessControlEntry): Integer;
Parameters 
Description 
const MandatoryLabel: TJwSystemMandatoryAccessControlEntry 
defines a label to be compared  

The return value is smaller than zero if the current label is less privileged than the given label. If the return value is greater than zero the given label has a higher level than the given one. The returned value is the difference of "Self.GetMandatoryLevelType - MandatoryLabel.GetMandatoryLevelType

If the return value is zero both labels are equal.

Compare compare the mandatory ACE with another one. 

 

Exceptions 
Description 
The exception is raised if parameter MandatoryLabel is nil 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!