Hi Sabin,
You can check the user against known Windows group names by using
WindowsPrincipal's IsInRole method. Retrieving unknown group names
(which sounds like the case here) may pose more of a problem for you. If
you're on a Win2K network you may have access to Active Directory
services, and you could then take advantage of the functionality offered
by the System.Directory namespace. Without Active Directory I believe
your answer becomes more elusive (maybe others can offer potential
solutions in this case).
Good luck!
- Mike
Sabin Finateanu wrote:
Hi! Can anyone tell me how can I get the user group for the current windows
user? Please help me!