Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Check User read access to a file share

$
0
0

Hi,

I want to check if the logged in user have the access to a file share before he launches the application present in that file share.

publicstaticstring userName = System.Environment.UserName;

Then need to check if the userName have read access to share path -->

\\opfilesr2\aquarius

Can you please help me with the code logic? 


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>