Sharing information about profiles and roles between web applications


Book Q1 says that we can choose to share profile information between a web application if the profile providers use the same ApplicationName value. But would it also be nice for applications to be able to share roles or would that pose a security risk?


Q2

If the ProfileManager.AutomaticSaveEnabled parameter is set to True, then whenever any profile data changes, the ProfileModule will update the tables in the database accordingly. When working with properties that contain simple types, the ProfileModule checks IsDirty to determine if the property has changed.

A) Suppose Profile.Name already contains "Irene" when the program issues the following instruction:

Profile.Name = "Irene";

      

Will the Name property be reported as dirty even if assigned the same value?


B) If ProfileManager.AutomaticSaveEnabled is set to True and if the property containing the complex type is set to read-only, then I assume the ProfileManager will figure that out and therefore don't try to connect to the database to save this property?


thanks

0


a source to share


1 answer


1) If you are happy that the user has the same roles on both sites, then this is not a problem and provides simplified management. If you want users to have different roles on each site, then there is something that needs to be said to separate it.



2) Can't say I've tried any of the scenarios, sorry.

+1


a source







All Articles