Skip to main content

[archive] user id in accept from system info

  • July 12, 2006
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 11 July 2006]

why is there a limitation of 12 characters in the accept from system info for the USER-ID?

Even the 'Administrator' login will not fit in there.

Is there another way of obtaining the current windows login ID?

Regards

2 replies

[Migrated content. Thread originally posted on 11 July 2006]

why is there a limitation of 12 characters in the accept from system info for the USER-ID?

Even the 'Administrator' login will not fit in there.

Is there another way of obtaining the current windows login ID?

Regards
It is a historical limitation. Apparently you are on Windows, how about calling the Windows API directly? GetUserName is the function, possibly GetUserNameEx if you want a more extensive id.

[Migrated content. Thread originally posted on 11 July 2006]

why is there a limitation of 12 characters in the accept from system info for the USER-ID?

Even the 'Administrator' login will not fit in there.

Is there another way of obtaining the current windows login ID?

Regards
It is a historical limitation. Apparently you are on Windows, how about calling the Windows API directly? GetUserName is the function, possibly GetUserNameEx if you want a more extensive id.