How to enable or disable menu items in MicroStation CE ??

Hi,

We need to enable or disable menu items based on the user who uses our add-on. We have developed the add-on using C++.

How this can be achieved in MS ? Please provide example for this.

Regards

Rama. Shrinivasan