addTrustee

Adds a trustee with the specified rights. This is an outdated version for adding trustee rights. It works okay, but it can be used only by the administrator and is strict about the way object names are specified. Use addTrustee instead.

Request

<addTrustee>
   <name/>
   <context/>
   <rights/>
   <fileName/>
</addTrustee>

Reply

<addTrustee>
   <result value=" ">
      <description/>
   </result>
 </addTrustee>

Elements

name

(Required) Specifies the name of the user.

context

(Required) Specifies the eDirectory context for the user name, including the tree name.

rights

(Required) Specifies a string of characters that represents the NetWare® trustee rights mask, where each character is a specific granted right:

  • a access control
  • c create
  • e delete (or erase)
  • f view (or file scan)
  • m modify
  • r read
  • w write
  • s supervisor

For example, to grant read, write, and file scan access, use

<rights>rwf</rights>
fileName

(Required) Specifies the target file name (including the volume).

result

Specifies an error value or 0 (for no error).

description

Specifies a text description of the result.

Example

<addTrustee>
   <name>test</name>
   <context>novell.T=MYTREE</context>
   <rights>rfce</rights>
   <fileName>SYS:data/text.txt</filename>
</addTrustee>