StrataFrame Forum

Customizing Security Editor

http://forum.strataframe.net/Topic3521.aspx

By Larry Caylor - 10/11/2006

Hi guys,

I’d like to be able to customize the Security System to allow it to contain additional user information. While I could simply add another window to my application it would make everything look much cleaner if I could add some fields to the current user security maintenance screen. So what I did was create an additional table in the database, added a new UserInfo BO to the security project, another tab to the user editor to hold the extra fields and some code on the form to handle the new BO. I also made the new BO a child of SFSUsers. Everything appears to be okay but when I run the modified program and add a new user, the SecurityEditor flags the new user as invalid saying that the data is corrupted. However, when I look at the database everything appears to be correct. Obviously I’m missing something but I’m not sure what it is. I had this working prior to installing the latest update.

-Larry

By Larry Caylor - 10/11/2006

Blush Disregard the previous post. I finally figured out where I messed up. I overwrote SFSUsers while in ObjectMapper. I've sure you must have had some customizations on one or more fields that I lost. After copying in an original SFSUsers object to my customized version of the Security project, everything appears to be working great.

-Larry

By Trent L. Taylor - 10/11/2006

Just glad to hear you're working Wink