??? Create User -- CSLA Identity is Read Only !!

??? Create User -- CSLA Identity is Read Only !!

Old forum URL: forums.lhotka.net/forums/t/9407.aspx

SDM10012 posted on Thursday, August 19, 2010

What are we doing for encapsulating Insert and Update methods for users  ??

Create a User BO ???  I'm Fetching login info in the Data_Portal_Fetch of my CustomIdentiy ....

I've searched pretty thoroughly in the ProjectTracker samples ... and didn't find any create user examples.

Not really interested in integrating the Windows Membership provider .. but even if I do .... I do not want to lose my CSLA Dal.




JonnyBee replied on Thursday, August 19, 2010

You should create separate BOs for insert/update on user entity.

An identity object such as CustomIdentity contains authenticated information for current user with a minimum of username and a list of  roles. This object  must not be allowed to be modified, ie is ReadOnly after authentication.

Copyright (c) Marimer LLC