home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 5 / Windows / System32 / wbem / scersop.mof < prev    next >
Encoding:
Text File  |  2006-09-18  |  4.3 KB  |  147 lines

  1. // Copyright (c) 2000-2004 Microsoft Corporation
  2. // WMI Class Definitions for RSOP security settings extension
  3. // Version 1.0
  4.  
  5. #pragma autorecover
  6. #pragma classflags("forceupdate")
  7.  
  8. #pragma namespace("\\\\.\\root")
  9.  
  10. instance of __Namespace
  11. {
  12.         Name = "RSOP";
  13. };
  14.  
  15. #pragma namespace("\\\\.\\root\\RSOP")
  16.  
  17. instance of __Namespace
  18. {
  19.         Name = "Computer";
  20. };
  21.  
  22.  
  23. #pragma namespace("\\\\.\\root\\RSOP\\Computer")
  24.  
  25.  
  26.  
  27. class RSOP_SecuritySettings : RSOP_PolicySetting
  28. {
  29.                         uint32  Status;
  30.                         uint32  ErrorCode;
  31. };
  32.  
  33. //******************** password, lockout, kerberos, and other policies *****************
  34.  
  35. class RSOP_SecuritySettingNumeric : RSOP_SecuritySettings
  36. {
  37.      [key]              uint32  precedence = 0;
  38.      [key]              string  KeyName = NULL;
  39.                         uint32  Setting;
  40. };
  41.  
  42. class RSOP_SecuritySettingBoolean : RSOP_SecuritySettings
  43. {
  44.      [key]              uint32  precedence = 0;
  45.      [key]              string  KeyName = NULL;
  46.                         boolean Setting;
  47. };
  48.  
  49. class RSOP_SecuritySettingString : RSOP_SecuritySettings
  50. {
  51.      [key]              uint32  precedence = 0;
  52.      [key]              string  KeyName = NULL;
  53.                         string  Setting;
  54. };
  55.  
  56.  
  57. //******************** RSOP_AuditPolicy ************************************
  58.  
  59. class RSOP_AuditPolicy : RSOP_SecuritySettings
  60. {
  61.         [key]           uint32  precedence = 0;
  62.         [key]           string  Category = NULL;
  63.         [NotNull]       boolean Success;
  64.         [NotNull]       boolean Failure;
  65. };
  66.  
  67. //******************** Esc_EventLog ***************************************
  68.  
  69. class RSOP_SecurityEventLogSettingNumeric : RSOP_SecuritySettings
  70. {
  71.      [key]              uint32  precedence = 0;
  72.      [key]              string  KeyName = NULL;
  73.      [key]              string  Type = NULL;
  74.                         uint32  Setting;
  75. };
  76.  
  77. class RSOP_SecurityEventLogSettingBoolean : RSOP_SecuritySettings
  78. {
  79.      [key]              uint32  precedence = 0;
  80.      [key]              string  KeyName = NULL;
  81.      [key]              string  Type = NULL;
  82.                         boolean Setting;
  83. };
  84.  
  85. //******************** rsop_RegistryValue ***************************************
  86.  
  87. class RSOP_RegistryValue : RSOP_SecuritySettings
  88. {
  89.         [key]           uint32  precedence = 0;
  90.         [key]           string  Path = NULL;
  91.         [ValueMap {"1","2","3","4","7"}, Values {"REG_SZ", "REG_EXPAND_SZ", "REG_BINARY", "REG_DWORD", "REG_MULTI_SZ"}, NotNull]
  92.                         uint32      Type;
  93.         [NotNull]       string  Data;
  94. };
  95.  
  96. //******************** RSOP_UserPrivilegeRight **********************************
  97.  
  98. class RSOP_UserPrivilegeRight : RSOP_SecuritySettings
  99. {
  100.      [key]              uint32  precedence = 0;
  101.      [key]              string  UserRight;
  102.                         string  AccountList[];
  103. };
  104.  
  105. //******************** RSOP_RestrictedGroup **********************************
  106.  
  107. class RSOP_RestrictedGroup : RSOP_SecuritySettings
  108. {
  109.      [key]              uint32  precedence = 0;
  110.      [key]              string  GroupName = NULL;
  111.                         string  Members[];
  112. };
  113.  
  114. //******************** RSOP_SystemService *************************************
  115.  
  116. class RSOP_SystemService : RSOP_SecuritySettings
  117. {
  118.         [key]           uint32  precedence = 0;
  119.         [key]           string  Service = NULL;
  120.         [ValueMap {"2", "3", "4"}, Values {"Automatic", "Manual", "Disabled"}]
  121.                         uint32  StartupMode;
  122.                         string  SDDLString;
  123. };
  124.  
  125. //******************** RSOP_Object *************************************
  126.  
  127. class RSOP_File : RSOP_SecuritySettings
  128. {
  129.         [key]           uint32  precedence = 0;
  130.         [key]           string  Path = NULL;
  131.                         string  OriginalPath;
  132.         [Values {"Inherit", "Ignore", "Overwrite"}]
  133.                         uint32  Mode;
  134.                         string  SDDLString;
  135. };
  136.  
  137. class RSOP_RegistryKey : RSOP_SecuritySettings
  138. {
  139.         [key]           uint32  precedence = 0;
  140.         [key]           string  Path;
  141.         [Values {"Inherit", "Ignore", "Overwrite"}]
  142.                         uint32  Mode;
  143.                         string  SDDLString;
  144. };
  145.  
  146.  
  147.