S
Stross S. Dist
I am using the WMI code from Microsoft as http://www.microsoft.com/technet/scriptcenter/scripts/security/dacls/sedcvb01.mspx
Set objWMIService = GetObject("winmgmts:")
Set objFileSecuritySettings = _
objWMIService.Get("Win32_LogicalFileSecuritySetting='" & strFileName & "'")
intRetVal = objFileSecuritySettings.GetSecurityDescriptor(objSD)
I understand that objWMIService refers to WbemScripting.SWbemServices, but how is objFileSecuritySettings? Also, how about objSD,objACE and arrACEs?
I hope to know there type and define them in VB/VB.NET. Thank you for any assistance.
-Stross
Set objWMIService = GetObject("winmgmts:")
Set objFileSecuritySettings = _
objWMIService.Get("Win32_LogicalFileSecuritySetting='" & strFileName & "'")
intRetVal = objFileSecuritySettings.GetSecurityDescriptor(objSD)
I understand that objWMIService refers to WbemScripting.SWbemServices, but how is objFileSecuritySettings? Also, how about objSD,objACE and arrACEs?
I hope to know there type and define them in VB/VB.NET. Thank you for any assistance.
-Stross