Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login() not saving UserPK
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01030777
Message ID:
01032370
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform