security.getUserUID() Returns 'null' for Valid User

Version: 6.1.0 - build 1418

We recently moved our developement from version 6.0.6 to 6.1.0.

When we attempt to run our application, we get a failure on the login. We determined that the following line of code in the our ‘authentication’ module is the problem as it returns ‘null’ instead of the user UID value:

var userUID = security.getUserUID( userName )

Using the SAS:Users page, we verified that the userName exists and has a UID. We deleted the userName and re-created it, but the problem persists.

The same code works in 6.0.6. Has anyone else come across this behavior in 6.1? Bug?

Hi Kim,
Make sure you have the loginForm value set to DEFAULT in the solution Properties, that was it was for me.

Thanks for responding, Phillip.

The property loginForm in our custom login form is set to DEFAULT.

Kim,

Please try with the latest 6.1 release.

Rob