I have two issues in my application which i would like to implement:
- Define two lists of local users: administrators and non-administrators
- Get desktop folder path to a non-administrator user
How i could do it in c#?
OBS: I already tried to use ManagementObjectSearcher with the Win32_UserAccount and Win32_GroupUser, but i don't know cross them to define who(user) belongs to an administrator group.