Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

access file permissions in Vista  RSS feed

 
moe uddin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to write a method that can access and display file permissions for a file where the permission levels are specified under the security tab under file properties in Windows Vista. Any ideas?

Thanks for your help in advance.
 
Paul Clapham
Sheriff
Posts: 22502
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use JNI to call some Windows API that gives you that information.

That's if your question was primarily about accessing it. If you also have a question about displaying it, then you need to ask a more specific question than that.
 
moe uddin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What windows API can I use?
The user will enter a folder name and the code is supposed to display all the files under the folder with their permission levels.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!