How do i know userid inside the program

Namasiva

Member
Hi,

mfgpro Verision: EB2 /Sp: 9/ Os:Unix / Desktop 2

For a requirement inside the program i want to know from which user id the program is running.

How do i find the user using this prorgram inside the same program (login user id)?

is it possible?..

Thanks for your help.
 
Thanks Chari .

It works fine.


I want to disable the F1 (go)key in the same program, user should go one by one tab how do i go abt it?

Thanks in advance.
 
if its your customised program then do the usual read readkey-apply last key.

If its unix/linux session then you can trap the key for the login.
 
Hi Chari,

Thanks for your help.

I have fixed this issue with key Function...


IF KEYFUNCTION (LASTKEY) = "GO"
THEN do:

apply keyfunction ( keycode ("RETURN")).
end.
 
Back
Top