I currently have a code-behind menu that is dynamically rendered based on a user's NT Group membership. It works really well but now I want to bring it to the next level. If a user only belongs to one group and not the others, I'd like my code to give a specific message.
Psuedo-code:
If GroupVals = group3 AND ! group1 AND ! group2
Show message
else
Show no message
End If
If I was doing this in classic ASP, it would be probably no sweat. Below is the code for my menu system:
string GroupVals = sb.ToString(); // This contains the NT Group membership strings
Go to the complete details ...