How to determine current database User ID login ?

I need to know how I can get the current database User ID ? I tried to look at the database tables but still din find any that useful for me. I need it in codeunit programming. Anybody know , pls reply. Thanks

There is a Global Variable Called USERID that is the workstations currently logged on user. In the Codeunit just code MyTable.“User ID”:=USERID; Mr David Cox MindSource (UK) Limited Navision Solutions Partner Email: Web: Edited by - David Cox on 7/18/00 12:40:57 PM