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.