Can set a plugin used by a certain group only?

I'm writing a plugin, and I want to know if I can insert some code so that the plugin is showed on the memu and used by a certain group members only?

Thanks.