PipeAuditRule.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="PipeAuditRule" FullName="System.IO.Pipes.PipeAuditRule">
  3. <TypeSignature Language="C#" Value="public sealed class PipeAuditRule : System.Security.AccessControl.AuditRule" />
  4. <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit PipeAuditRule extends System.Security.AccessControl.AuditRule" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.Core</AssemblyName>
  7. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  8. </AssemblyInfo>
  9. <Base>
  10. <BaseTypeName>System.Security.AccessControl.AuditRule</BaseTypeName>
  11. </Base>
  12. <Interfaces />
  13. <Docs>
  14. <remarks>
  15. <attribution license="cc4" from="Microsoft" modified="false" />
  16. <para>Audit rules determine when and how actions performed on system objects are logged.</para>
  17. <para>The <see cref="T:System.IO.Pipes.PipeAuditRule" /> class represents an abstraction of an underlying access control entry (ACE) that specifies a user account, the type of access to provide (read, write, and so on), and whether to perform auditing. This class can specify how audit rules are inherited from and propagated to objects.</para>
  18. <para>To allow file auditing on computers that are running Windows NT or later operating systems, the Audit Access Security policy must be enabled; by default, this policy is set to <ui>No Auditing</ui>.</para>
  19. <para>To enable the Audit Access Security policy, perform the following steps:</para>
  20. <list type="ordered">
  21. <item>
  22. <para>Click the <ui>Start</ui> button and then point to <ui>All Programs</ui>. Point to <ui>Administrative Tools</ui> and then click <ui>Local Security Policy</ui>.</para>
  23. </item>
  24. <item>
  25. <para>In the Local Security Settings window, expand the Local Policies folder and left-click the Audit Policy folder.</para>
  26. </item>
  27. <item>
  28. <para>Double-click the <ui>Audit object access</ui> entry in the right pane of the Local Security Settings window to display the <ui>Audit object access Properties</ui> dialog box. </para>
  29. </item>
  30. <item>
  31. <para>Select the <ui>Success</ui> or <ui>Failure</ui> boxes to log successes or failures. </para>
  32. </item>
  33. </list>
  34. <para>Note that an audit rule for a user account requires a corresponding access rule for the same user account.</para>
  35. <para>Use the <see cref="T:System.IO.Pipes.PipeAuditRule" /> class to create a new audit rule. You can persist this rule using the <see cref="T:System.IO.Pipes.PipeSecurity" /> class.</para>
  36. </remarks>
  37. <summary>
  38. <attribution license="cc4" from="Microsoft" modified="false" />
  39. <para>Represents an abstraction of an access control entry (ACE) that defines an audit rule for a pipe.</para>
  40. </summary>
  41. </Docs>
  42. <Members>
  43. <Member MemberName=".ctor">
  44. <MemberSignature Language="C#" Value="public PipeAuditRule (System.Security.Principal.IdentityReference identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AuditFlags flags);" />
  45. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Security.Principal.IdentityReference identity, valuetype System.IO.Pipes.PipeAccessRights rights, valuetype System.Security.AccessControl.AuditFlags flags) cil managed" />
  46. <MemberType>Constructor</MemberType>
  47. <AssemblyInfo>
  48. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  49. </AssemblyInfo>
  50. <Parameters>
  51. <Parameter Name="identity" Type="System.Security.Principal.IdentityReference" />
  52. <Parameter Name="rights" Type="System.IO.Pipes.PipeAccessRights" />
  53. <Parameter Name="flags" Type="System.Security.AccessControl.AuditFlags" />
  54. </Parameters>
  55. <Docs>
  56. <remarks>
  57. <attribution license="cc4" from="Microsoft" modified="false" />
  58. <para>Use this constructor to create an audit rule that can be persisted using the <see cref="T:System.IO.Pipes.PipeSecurity" /> class. Audit rules determine when and how actions performed on system objects are logged.</para>
  59. </remarks>
  60. <summary>
  61. <attribution license="cc4" from="Microsoft" modified="false" />
  62. <para>Initializes a new instance of the <see cref="T:System.IO.Pipes.PipeAuditRule" /> class for a user account specified in a <see cref="T:System.Security.Principal.IdentityReference" /> object.</para>
  63. </summary>
  64. <param name="identity">
  65. <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Security.Principal.IdentityReference" /> object that encapsulates a reference to a user account.</param>
  66. <param name="rights">
  67. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.IO.Pipes.PipeAccessRights" /> values that specifies the type of operation associated with the access rule.</param>
  68. <param name="flags">
  69. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.AccessControl.AuditFlags" /> values that specifies when to perform auditing.</param>
  70. </Docs>
  71. </Member>
  72. <Member MemberName=".ctor">
  73. <MemberSignature Language="C#" Value="public PipeAuditRule (string identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AuditFlags flags);" />
  74. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string identity, valuetype System.IO.Pipes.PipeAccessRights rights, valuetype System.Security.AccessControl.AuditFlags flags) cil managed" />
  75. <MemberType>Constructor</MemberType>
  76. <AssemblyInfo>
  77. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  78. </AssemblyInfo>
  79. <Parameters>
  80. <Parameter Name="identity" Type="System.String" />
  81. <Parameter Name="rights" Type="System.IO.Pipes.PipeAccessRights" />
  82. <Parameter Name="flags" Type="System.Security.AccessControl.AuditFlags" />
  83. </Parameters>
  84. <Docs>
  85. <remarks>
  86. <attribution license="cc4" from="Microsoft" modified="false" />
  87. <para>Use this constructor to create an audit rule that can be persisted using the <see cref="T:System.IO.Pipes.PipeSecurity" /> class. Audit rules determine when and how actions performed on system objects are logged.</para>
  88. </remarks>
  89. <summary>
  90. <attribution license="cc4" from="Microsoft" modified="false" />
  91. <para>Initializes a new instance of the <see cref="T:System.IO.Pipes.PipeAuditRule" /> class for a named user account.</para>
  92. </summary>
  93. <param name="identity">
  94. <attribution license="cc4" from="Microsoft" modified="false" />The name of the user account.</param>
  95. <param name="rights">
  96. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.IO.Pipes.PipeAccessRights" /> values that specifies the type of operation associated with the access rule.</param>
  97. <param name="flags">
  98. <attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.AccessControl.AuditFlags" /> values that specifies when to perform auditing.</param>
  99. </Docs>
  100. </Member>
  101. <Member MemberName="PipeAccessRights">
  102. <MemberSignature Language="C#" Value="public System.IO.Pipes.PipeAccessRights PipeAccessRights { get; }" />
  103. <MemberSignature Language="ILAsm" Value=".property instance valuetype System.IO.Pipes.PipeAccessRights PipeAccessRights" />
  104. <MemberType>Property</MemberType>
  105. <AssemblyInfo>
  106. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  107. </AssemblyInfo>
  108. <ReturnValue>
  109. <ReturnType>System.IO.Pipes.PipeAccessRights</ReturnType>
  110. </ReturnValue>
  111. <Docs>
  112. <value>To be added.</value>
  113. <remarks>To be added.</remarks>
  114. <summary>
  115. <attribution license="cc4" from="Microsoft" modified="false" />
  116. <para>Gets the <see cref="T:System.IO.Pipes.PipeAccessRights" /> flags that are associated with the current <see cref="T:System.IO.Pipes.PipeAuditRule" /> object.</para>
  117. </summary>
  118. </Docs>
  119. </Member>
  120. </Members>
  121. </Type>