Login Name

Determining the operating system login name from within AutoCAD 2000This was taken from the AutoCAD help file.IssueIt may be necessary to determine the login name used on a workstation for use in AutoCAD 2000. This information is typically used in AutoLISP routines and script files.SolutionAutoCAD 2000 maintains a read-only variable, LOGINNAME, with its value set to the name used to log onto the workstation.Is it possible to automate this within IntelliCAD?

Comments

  • This would require DosLib, I think. The function (dos_username) returns the same as LOGINNAME in Acad. It appears that LOGINNAME in Icad just stores a string of your choice.

  • loginname in icad indeed just stores a string.sander, bricsnet

This discussion has been closed.