Parent, Permissionstring – Echelon OpenLNS User Manual
Page 937
OpenLNS Programmer's Reference
900
Added to API
Prior to LNS Release 3.0.
Parent
Summary
Returns the object that spawned the current child object.
The parent object is determined by the means in which a
child object is accessed, not by the OpenLNS Object
hierarchy.
Availability
Local, full, lightweight, and independent clients. Note that
some collection objects are not available to Independent
clients.
Syntax
parentObject = object.Parent
Element
Description
parentObject
The object that is the parent of the
specified object.
object
Any object for which the parent is
desired.
Data Type
Object.
Read/Write
Read only.
Added to API
Depends on the object used to access the property. Generally,
this property exists for an object as soon as the object is
added to the API.
PermissionString
Summary
Contains the permission string which controls system access
for Lightweight clients.
The permission string specifies the access permission for
Lightweight clients. It consists of a concatenated list of
permission specifications (spec) separated by commas or line
feeds. Each permission spec defines a rule which grants or
denies access to one or more IP addresses. An individual
spec has the form
, where permission has the value 0 (deny) or 1
(allow). For example:
192.168.0.5 255.255.255.255, 1
A permission spec applies to all Lightweight clients with an
IP address that satisfies the rule (
. In other
words, the client's IP address is logically AND'ed with the IP
mask, and the result is compared to the IP Address in the
permission spec. If they match, the specified permission
value is applied to the client. Thus, the example above only
provides permission to a client on a computer with the IP
address 192.168.0.5.
The Object Server evaluates permission specs in the order
that they appear within the permission string, returning the