I have implemented custom security model that has the option to restrict users to certain records. The model ask for which business object (ie customer, vendor, auditor) and which record (ie the guid of the record).
I am now trying to implement the Get function. I was hoping to use the property that hold the business object name and then find the business object and load the record without using select case, but I can't figure out how to do it and if that is the best option.
Anyone have any idea if I can, how, or recommendations to do this?
Can someone please guide me on this. I am in desperate need to get this figured out.
Do you want to use the CSLA authorization features to do this? They rely on access to the current principal object (Csla.ApplicationContext.User) and its IsInRole() method.
There is information in the Expert 2008 Business Objects book, there's an entire video in the Core 3.8 video series on this topic, and there's some information in the Security FAQ.
Copyright (c) Marimer LLC