Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overridning MM Security Object
Message
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Overridning MM Security Object
Miscellaneous
Thread ID:
01274484
Message ID:
01274484
Views:
55
Hello all,

I have added a column to the MM built in user table and need to override the security classes for this new column. I believe I need to add a property to the mmUser class as well as the mmUserManager class.

I am attempting to subclass this by following the directions in the Dev guide and have followed these directions that instruct me to add the new class in the ABusinessObject class and override the createUserObject in the Factory.cs file.

When trying to reference the new class in the Factory file, the class is not found. I tried adding a 'using' clause, but still it cannot be found. I opened my aAppTest file to test and was able to reference this new class there, so the class is out there, but I am not sure why it cannot be referenced in the factory.cs file. Here is the code from the aBusinessObject.cs file:
/// <summary>
/// Subclass of mmuser to add clientID as property
/// </summary>
    public class tmUser : mmUser
    {
        // Added client id as a property
        public int ClientID;
        /// <summary>
        /// Constructor for my user changes
        /// </summary>
        public tmUser()
        {
            this.ClientID = 0;
        }
    }
For informational purposes, this is a web application. Also, I have set the project build order and project dependencies properly.

Thanks in advance for any help.
Next
Reply
Map
View

Click here to load this message in the networking platform