>Nop - it's not too late.
>
>And yes it does make sense.
>
>Thank you again for all your help.
>
>I got my first additional step working already - to asign the vairable permission values based on the current users AD groups.
>
>I am still trying to figure out how i can create the enum structure dynamicly. Research suggest it is not recomendet to do so. That they are more like a constants and need to be compiled at design time. However, I found one solution on the net i am going to try:
>
http://stackoverflow.com/questions/725043/dynamic-enum-in-c the second to last entry there.
Not sure how that would help. True, it will create an enum structure on the fly. But you can't make real use of it unless you know the valid enum values to start with (e.g. Apple, Banana etc) - in which case why not create the enum manually in the first place. But maybe I'm missing something......