Write c# program that returns if a domain user has access to specific file
Budget: $10 – $30 USD
I need a c# code that checks if a user has read access to a file by path, something like this:
public Boolean IsReadPermissions(string user, string domainName, string filePath)
e.g:
Boolean hasAccess = IsReadPermissions("userName", "DOMAIN", @"C:\test.log");
public Boolean IsReadPermissions(string user, string domainName, string filePath)
e.g:
Boolean hasAccess = IsReadPermissions("userName", "DOMAIN", @"C:\test.log");