I use ASP.net with C # and have very little information about Active Directory. I was tasked with writing a program in the following steps:
ASP.net application gets the username.
The application should request all user groups with the specified username.
Then the application should display these groups in two separate lists, consisting of distribution groups and in another list, the rest of the groups.
Now the request for all groups is simple. But how can I check if a group is in a distribution group or not?
I was not given more information.
Any attribute or something that I can verify?
source share