Node:create-person, Next:, Previous:create-conf, Up:Protocol Requests



create-person [89] (10) Recommended


        create-person [89] (( name      :   HOLLERITH;
                              passwd    :   HOLLERITH;
                              flags     :   Personal-Flags;
                              aux-items :   ARRAY Aux-Item-Input ))
                -> ( Pers-No );

This call requests that the server create a new person with the name and password given as arguments. To create a person the session must be logged in as a person with sufficient privileges. The list aux-items contains the aux items that are to be attached to the new person's mailbox conference. The person flags are set to flags.

The new person will be a member of exactly one conference: the associated mailbox. That membership will have priority 255 and (of course) position 0. All flags of the membership will be 0.

Unlike call number 5, this call does not do an automatic login.

Error codes

login-first
The session is not logged in and the server does not allow person creation before logging in.
permission-denied
The server does not allow everyone to create person and the person currently logged on does not have the create-pers bit set.
person-exists
There is already a person named name.
invalid-password
The string passwd is not a valid password.
illegal-aux-item
One of the aux-items in aux-items is illegal. The tag might be out of range, the item not applicable to conferences or mailboxes or whatever.
aux-item-permission
One of the items looks valid but could not be created anyway.
index-out-of-range
Attempt to create a person failed because we reached the maximum number of conferences permitted. The error-status indicates the person number that should have been created if the limit hadn't been reached.