List of Roles

List of Roles

Old forum URL:

mayurimalgave posted on Saturday, May 17, 2014

I have a table which contains list of Business objects with corresponding accesses for roles. Now I wish to retrieve list of roles authorized to access particular business object in AddObjectAuthorizationRules()

how do I write a method which retrieves Roles from database for Authorization for that particular object?

thaehn replied on Tuesday, May 20, 2014

Your roles should be loaded up front and your AddObjectAuthorizationRules() should only set them for the object.  The roles are read from the database in the DAL of your Identity object.


Copyright (c) Marimer LLC