- WMI Library -
WMI Libraly > Win32_LogicalFileSecuritySetting Class

Win32_LogicalFileSecuritySetting Class

security settings for a logical file
Namespace value is root/CIMV2.
WMI Provider value is SECRCW32.


Properties

  • Caption
  • A short textual description (one-line string) of the CIM_Setting object.

  • ControlFlags
  • Inheritance-related flags. See SECURITY_DESCRIPTOR_CONTROL

  • Description
  • A textual description of the CIM_Setting object.

  • OwnerPermissions
  • Indicates whether the caller has Owner permissions to the object.

  • Path
  • The full pathname of the file or directory

  • SettingID
  • The identifier by which the CIM_Setting object is known.


    Methods

  • GetSecurityDescriptor
  • Retrieves a structural representation of the object's security descriptor.
    The method returns an integer value that can be interpreted as follows:
    0 - Successful completion.
    2 - The user does not have access to the requested information.
    8 - Unknown failure.
    9 - The user does not have adequate privileges.
    21 - The specified parameter is invalid.
    Other - For integer values other than those listed above, refer to Win32 error code documentation.

  • SetSecurityDescriptor
  • Sets security descriptor to the specified structure.
    The method returns an integer value that can be interpreted as follows:
    0 - Successful completion.
    2 - The user does not have access to the requested information.
    8 - Unknown failure.
    9 - The user does not have adequate privileges.
    21 - The specified parameter is invalid.
    Other - For integer values other than those listed above, refer to Win32 error code documentation.


    Example WQL

    SELECT * FROM Win32_LogicalFileSecuritySetting
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...