Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmAppBase
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
MmAppBase
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01505960
Message ID:
01505960
Vues:
118
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform