2.9 TrusteePath Object

Features:

2.9.1 Path property

Returns the path of a Trustee object.

Syntax

Object.Path

Type

String.

Attributes

Read-only.

Remarks

The returned path can represent either a directory or a file on a volume.

Example

See sample in Example.

2.9.2 Rights property

Returns the rights of a TrusteePath object.

Syntax

Object.Rights

Type

String.

Attributes

Read-only.

Example

This example returns the rights of the next TrusteePath object in the collection.

Set filemgr = Createobject("ucx:NWFileMgr") 
Set tpaths = filemgr.GetTrusteepaths("Admin","Sys") 
tpaths.Reset()
While(tpaths.HasMoreElements) 
     Set path = tpaths.Next()
     Print(path.Path &path.Rights) 
Wend