Represents the Trustee of a NetWare file system.
Returns the name of a Trustee object.
Object.Name
String.
Read-only.
See sample in Example.
Sets or returns the rights of a Trustee object.
Object.Rights[=Rights As String]
String.
Read/write.
Rights is an optional parameter that sets the rights of the Trustee object.
This example returns the name and the rights of all the trustees objects present in the trustees collection.
Set filemgr = Createobject("ucx:NWFileMgr")
Set entry = filemgr.FindEntry("Sys:NSN")
Set trustees = entry.Trustees
trustees.Reset()
While(trustees.HasMoreElements())
Set trustee = trustees.Next()
Print(trustee.Name &trustee.Rights)
Wend