Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking File Permissions

Status
Not open for further replies.

UncleT

Programmer
Sep 26, 2001
133
US
Does anyone know how to programatically check the permissions on a file using VB?
 

Hmmm.... Yes!!! Perhaps you should read FAQ222-2244 on how to ask a question that will get you the answers you are requesting and have a good read of item 15.

Good Luck on restating your question :)

 
What I am trying to ask is. I want to know who has security permissions to a particular file via VB. For instance I have an application that list files that are located in a folder. These files are reports that can be ran by the VB application. Based off of the Windows 2000 login I want to check permissions on the file to determine if I should even display the File for the user to run. If the user does not have access to the file then they will not be able to see it. Is there a way to do this using VB?
 
Thanks "BMDB" looks like I can use this for what I need.

Thanks again

UncleT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top