Running as Admin, How do I check if some windows account has permissions to read a directory?
- by Zvika
I only got the account username (DOMAIN\USER).
The check also has to take into account the user's groups.
I'd like to use this sample, but I can't figure out how to get a WindowsIdentity only from a username without his password.