2.7 Trustee Object

Represents the Trustee of a NetWare file system.

2.7.1 Name property

Returns the name of a Trustee object.

Syntax

Object.Name

Type

String.

Attributes

Read-only.

Example

See sample in Example.

See Also

2.7.2 Rights property

Sets or returns the rights of a Trustee object.

Syntax

Object.Rights[=Rights As String]

Type

String.

Attributes

Read/write.

Remarks

Rights is an optional parameter that sets the rights of the Trustee object.

Example

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

See Also