Topics: NetSqlAzMan Core
Jan 24, 2013 at 9:03 PM


I am not sure if this project is still being tracked, I still find it quite useful.  I've been using MS AzMan for quite some time and we've developed an AzMan application that makes use of the Operation ID quite heavily.  We use a numbering scheme to define our operations that allows us to dynamically calculate the operation ID (based on some value in a db column) and then evaluate if they have access.


Table: Views

Column1: ViewName

Column2: AzManOperationIndex



Our Operation Numbering Scheme

ReadDynamicView = 200001

PrintDynamicView = 200002

ExportDynamicView = 200003

(the screen that shows the View content has a print and export button, and the Read is to check if they can even open it)

Then when our app starts up we iterate through all rows in the Views table and calculate actual operation number, ex:

200001 + (1000 * AzManOperationIndex)

Then we check if the user has access to that operation (of course we create the operation in azman too)

So this means we can add new View rows to the View table and have different operationIDs for them and do all this dynamically without specifying the full operation ID (or name).  Gives us an easy way to manage it.

i know netswlasman has an ItemID but operationID was not carried over from AzMan (I realize you save it in Item.Description).  Any change you can create an AzManOperationID property and retain it?

Jan 28, 2013 at 11:40 AM


NetSqlAzMan does not supports OperationID.

You can create some naming convention e just concatenate the operation name with the action, for example:

Operation base name: "DynamicView", Actions: "Read", "Print", "Export" ...

So at run time just concat Action+Operation ... to check access.



Jan 29, 2013 at 12:55 AM


Thanks for the information and it's a conclusion that I had already come up with but my point was that AzMan operationID was a very important piece of AzMan but is missing in netsqlazman.