RSOP_File class

The RSOP_File WMI class represents a security policy setting that defines the access permissions and audit settings for a securable file system object. This class was added for WindowsĂ‚ XP.

The following syntax is simplified from MOF code.

Note  Classes that derive from the RSOP_PolicySetting class must redefine the precedence property to be a key.

Syntax

class RSOP_File : RSOP_SecuritySettings
{
  uint32 Mode;
  string OriginalPath;
  string Path;
  uint32 precedence;
  string SDDLString;
};

Members

The RSOP_File class has these types of members:

  • Properties

Properties

The RSOP_File class has these properties.

Mode

Data type: uint32

Access type: Read-only

Describes the mode. This property can have one of the following values.

Value Meaning
0

Inherit

1

Ignore

2

Overwrite

 

OriginalPath

Data type: string

Access type: Read-only

Path for this instance of the security policy setting; for example, F:\winnt\system32\scecli.dll. Environment variables are not expanded.

Path

Data type: string

Access type: Read-only

Qualifiers: Key

Path with expanded environment variables for this instance of the security policy setting.

precedence

Data type: uint32

Access type: Read-only

Qualifiers: Key

Inherited from RSOP_PolicySetting.

SDDLString

Data type: string

Access type: Read-only

Security descriptor, in security descriptor string format, for this instance of the security policy setting. For more information, see Security Descriptors.

Remarks

The RSOP_File class is derived from RSOP_SecuritySettings which is derived from RSOP_PolicySetting.

For more information, see Securable Objects and File Security and Access Rights.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Namespace

\\.\root\RSOP

MOF

SceRsop.mof

See also

RSOP_SecuritySettings

RSOP_PolicySetting