Hello all,
I have introduced into the ABusinessObject.cs class a line to get the application's current user by using the following line:
string userId = mmAppBase.UserMgr.UserID;
However, when I am running the application and encountering this line the value is always null. I debug-ed the method and see an exception is thrown on the UserMgr AuthenticateUserCmd method and I also see that a message shows "A database key must be specified".
Not sure if this message means anything, but does anybody know why the UserMgr function is not returning the userID of the currently logged on MM user in the application? I am using MM 3.6 and I have added the MM security tables into the same database for the application.
TIA
Bob