Is it possible to determine if a given SID is User or Group using .NET?
I have a list of SIDs which I need to edit in a listview, so for User and Group I want to use different icons
Is it possible to determine if a given SID is User or Group using
Share
You can try it by using System.DirectoryServices.AccountManagement:
You can find similar question (and answer) here: How to get the groups of a user in Active Directory? (c#, asp.net)