Type: String[30]
Availability: Read-only
The userCode property of the Process class contains the current user code, which may differ from that specified when signing on to the application.
Changes to the userCode property are audited in a journal record of type Jaa_Type_ChangeUser. Information from this record can be retrieved by using the
The following example shows the use of the userCode property.
vars pd : ProcessDict; proc : Process; coy : Company; begin coy := Company.firstInstance; self.lock(coy, 1, 1, 100); create pd transient; system.getObjectLockProcesses(coy, pd, 100); foreach proc in pd do write(proc.userCode); endforeach; end;