Usernames case-sensetive and setUserId() problem;

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
1 post • Page 1 of 1
dpConnect
Posts:1
Joined: Thu Feb 13, 2014 10:13 pm

Usernames case-sensetive and setUserId() problem;

Post by dpConnect »

Hello,

during testing the _u_range-config I had a problem with case sensitive in usernames.
Therefore I created a few users including “Test” and “test”. By using the function

Code: Select all

setUserId(getUserId("Test"), "Password");
and

Code: Select all

DebugTN("Name: " + getUserName());  DebugTN("ID: " +getUserId(getUserName()));
for debugging the current user should be changed to “Test”, but the program set “test” as current user. It took much time to find the problem. After deactivating “test” I tried to set “Test”, but nothing happened. :huh: So I renamed “Test” to “Test2” in the para and everything worked fine. :woohoo:

As I know Windows doesn’t support case sensitive usernames, but in WinCC OA I didn’t choose Windows user management. Maybe anybody can check whether this problem reproducible?

Best regards, Matthias

PS: I’m using WinCC OA 3.12, OS: Windows 7, for testing this issue I created a new project in WinCC OA. https://www.winccoa.com/fileadmin/image ... estpnl.pnl
Attachments
testpnl.pnl
(2.24 KiB) Downloaded 241 times

1 post • Page 1 of 1