How can I get the username back on a system with windows login. The table “windows login” has only the SID number as a primary key. So if somone can tell me how I get the SID number back, I could go over the “windows login” table to get the username back. To search sequentiel is not possible, because there are to many records in this table.
You can set a filter on the window login table in the ID field and get the name that way. The userid is part of the ID field - look at codeunit 418 Login Management for more details.
Hope this helps