Running as Admin, How do I check if some windows account has permissions to read a directory?

Posted by Zvika on Stack Overflow See other posts from Stack Overflow or by Zvika
Published on 2010-05-10T17:58:49Z Indexed on 2010/05/11 15:24 UTC
Read the original article Hit count: 158

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about directory