Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmAppBase
Message
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
MmAppBase
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01505960
Message ID:
01505960
Views:
117
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
Next
Reply
Map
View

Click here to load this message in the networking platform