Hi,
during creating UserID, u add any prefix or suffix
string which show u an identity of a particular group. Store this user id into session when login, and on the click event of ur menu
u just check that substring (prefix or suffix string which u added during userID creation).
execute ur operation if this match with ur group, nothing otherwise.