Node:Person Status Types, Next:, Previous:Server Information, Up:LysKOM Data Types



Person Status Types


        Person ::=
              ( username                :       HOLLERITH;
                privileges              :       Priv-Bits;
                flags                   :       Personal-Flags;
                last-login              :       Time;
                user-area               :       Text-No;
                total-time-present      :       INT32;
                sessions                :       INT32;
                created-lines           :       INT32;
                created-bytes           :       INT32;
                read-texts              :       INT32;
                no-of-text-fetches      :       INT32;
                created-persons         :       INT16;
                created-confs           :       INT16;
                first-created-local-no  :       INT32;
                no-of-created-texts     :       INT32;
                no-of-marks             :       INT16;
                no-of-confs             :       INT16;
              )


        Personal-Flags ::= BITSTRING
              ( unread-is-secret;
                flg2;
                flg3;
                flg4;
                flg5;
                flg6;
                flg7;
                flg8;
              )



        Priv-Bits ::= BITSTRING
              ( wheel;
                admin;
                statistic;
                create-pers;
                create-conf;
                change-name;
                flg7;
                flg8;
                flg9;
                flg10;
                flg11;
                flg12;
                flg13;
                flg14;
                flg15;
                flg16;
              )

These types are used to specify information about persons. Person contains the information about a person, Personal-Flags contains flags set by the user and Priv-Bits contains the person's privileges (see Security).

The fields of Person are

username
The name of the user.
privileges
The privileges of the person.
flags
Flags set by the user.
last-login
The time when the person last logged on or off.
user-area
The text number of the person's user area or zero if the person has no user area.
total-time-present
The number of seconds the person has been using LysKOM.
sessions
The number of sessions the person has initiated.
created-lines
The number of lines of articles the person has written.
created-bytes
The number of characters the person has written.
read-texts
The number of articles the person has read.
no-of-text-fetches
The number of texts the person has retrieved from the server.
created-persons
The number of other persons this person has created.
created-confs
This holds the number of conferences created by the person.
first-created-local-no
The local number of the earliest existing article written by the person. The local number applies to a local-to-global mapping containing all articles written by the person.
no-of-created-texts
This holds the number of articles written by the person, not counting the articles created before the earliest existing article written by the person. To get the true number of created articles, compute first-created-local-no + no-of-created-texts - 1.
no-of-marks
The number of marked texts this person has.
no-of-confs
The number of conferences the person is a member of.

The fields of Personal-Flags are

unread-is-secret
If this is set, only the person and his supervisors can see how many texts this persons have read in a certain conference. The server will clear the read-texts, last-time-read and last-text-read fields of Membership and Membership-Old when other persons asks about the information.
flg2
flg3
flg4
flg5
flg6
flg7
flg8
Reserved for the future. Set them to 0, and ignore the values they have.