G
Guest
My WinForm application is activating menus based on the user's roles in AD.
I've created the groups to use the same 3 letter abbreviation. Is there a way
to do something like this:
mnuPlanning.Enabled = wp.IsInRole(@"domain\ibb*"); or
mnuPlanning.Enabled = wp.IsInRole(@"domain\ibb%");
I'm using all possible groups in an if statement now, but would like to
consolidate it as much as possible.
Thanks,
_E
I've created the groups to use the same 3 letter abbreviation. Is there a way
to do something like this:
mnuPlanning.Enabled = wp.IsInRole(@"domain\ibb*"); or
mnuPlanning.Enabled = wp.IsInRole(@"domain\ibb%");
I'm using all possible groups in an if statement now, but would like to
consolidate it as much as possible.
Thanks,
_E