Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login() not saving UserPK
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01030777
Message ID:
01032370
Vues:
19
I have still run into some security snags. I am trying to check the security for a custom object, so I call:
return mmAppBase.SecurityMgr.GetAccessLevel(ControlID)
which in turn calls:
return this.GetAccessLevel(mmAppBase.UserMgr.UserPK, securityID, dsUserSecurity, dsRoleSecurity);
The problem is that the UserPK is not stored in the mmAppBase.UserMgr. Note from my previous post that a special instance of the mmUserManager is created during the Login() method to authenticate the user. I don't see anywhere that the mmAppBase.UserMgr.UserPK is ever being set. So I am not getting valid results from the GetAccessLevel() method.

Am I missing something?

Matthew J. Price
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform