WMI Class for NTFS Shares Permissions

Does anyone know the WMI Class that can get NTFS Shares and permissions on a computer where I can run the script on?  I know the Win32_Share class will get me all the shares, but it doesn't pick up the permissions on that share.

Thanks
ansa45Asked:
Who is Participating?
 
ansa45Connect With a Mentor Author Commented:
TheLearnedOne...

Thanks for the information.  Unfortunetly, that class didn't work.  However, I did find some other .Net classes I could use my in my application that worked.  I'm still using the WMI class Win32_Share to get my shared, but .Net classes to get the permissions.

Thank you though.
0
 
Bob LearnedCommented:
I believe that should be Win32_SecurityDescriptor.

Example:

Create Share and setup Share Permissions
http://cwashington.netreach.net/depo/view.asp?Index=1068
0
 
Bob LearnedCommented:
It would be nice to know how you got it solved.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.