FileSystemAuditRuleとは? わかりやすく解説

FileSystemAuditRule クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

ファイルまたはディレクトリの監査規則を定義するアクセス制御エントリ (ACE: Access Control Entry) の抽象化を表します。このクラスは継承できません。

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public NotInheritable Class
 FileSystemAuditRule
    Inherits AuditRule
Dim instance As FileSystemAuditRule
public sealed class FileSystemAuditRule : AuditRule
public ref class FileSystemAuditRule sealed
 : public AuditRule
public final class FileSystemAuditRule extends
 AuditRule
public final class FileSystemAuditRule extends
 AuditRule
解説解説

FileSystemAuditRule クラスは、ユーザー アカウント、提供するアクセスの種類 (読み取り、書き込みなど)、および監査を実行するかどうかなどを指定する、基になるアクセス制御エントリ (ACE) の抽象化を表します。このクラスでは、オブジェクトからの監査規則の継承方法およびオブジェクトへの監査規則の反映方法も指定できます。

Microsoft Windows NT 以降でファイル監査とディレクトリ監査を実行するには、使用しているマシンで Audit Access Security ポリシーを有効にする必要があります。既定では、このポリシーは No Auditing に設定されます。

Audit Access Security ポリシーを有効にするには、次の手順を実行します。

  1. Administrative Tools フォルダにある Local Security Settings Microsoft 管理コンソール (MMC: Microsoft Management Console) スナップインを開きます。

  2. Local Policies フォルダを展開し、Audit Policy フォルダを左クリックします。

  3. MMC スナップインの右ペインで Audit object access エントリをダブルクリックするか、または右クリックで表示されるプロパティのオプションをクリックして Audit object access Properties dialog を表示します。

  4. Success ボックスまたは Failure ボックスを選択して、成功または失敗のログを記録します。

ユーザー アカウントの監査規則には、同じユーザー アカウントの対応するアクセス規則が必要です。

FileSystemAuditRule クラスを使用して、新しい監査規則を作成します。FileSecurity クラスまたは DirectorySecurity クラスを使用して、この規則を永続化できます。

使用例使用例

FileSystemAuditRule クラスを使用して、ファイルに監査規則を追加し、次にファイルから監査規則を削除するコード例を次に示します。この例を実行するには、有効なユーザー アカウントまたはグループ アカウントを指定する必要があります。

Imports System
Imports System.IO
Imports System.Security.AccessControl



Module FileExample

    Sub Main()
        Try
            Dim FileName As String
 = "test.xml"

            Console.WriteLine("Adding access control entry for
 " + FileName)

            ' Add the access control entry to the file.
            AddFileAuditRule(FileName, "MYDOMAIN\MyAccount",
 FileSystemRights.ReadData, AuditFlags.Failure)

            Console.WriteLine("Removing access control entry from
 " + FileName)

            ' Remove the access control entry from the file.
            RemoveFileAuditRule(FileName, "MYDOMAIN\MyAccount",
 FileSystemRights.ReadData, AuditFlags.Failure)

            Console.WriteLine("Done.")
        Catch e As Exception
            Console.WriteLine(e)
        End Try

        Console.ReadLine()

    End Sub


    ' Adds an ACL entry on the specified file for the specified account.
    Sub AddFileAuditRule(ByVal FileName As
 String, ByVal Account As
 String, ByVal Rights As FileSystemRights, ByVal AuditRule As AuditFlags)


        ' Get a FileSecurity object that represents the 
        ' current security settings.
        Dim fSecurity As FileSecurity = File.GetAccessControl(FileName)

        ' Add the FileSystemAuditRule to the security settings. 
        fSecurity.AddAuditRule(New FileSystemAuditRule(Account,
 Rights, AuditRule))

        ' Set the new access settings.
        File.SetAccessControl(FileName, fSecurity)

    End Sub


    ' Removes an ACL entry on the specified file for the specified account.
    Sub RemoveFileAuditRule(ByVal FileName
 As String, ByVal Account
 As String, ByVal Rights As FileSystemRights, ByVal AuditRule As
 AuditFlags)

        ' Get a FileSecurity object that represents the 
        ' current security settings.
        Dim fSecurity As FileSecurity = File.GetAccessControl(FileName)

        ' Add the FileSystemAuditRule to the security settings. 
        fSecurity.RemoveAuditRule(New FileSystemAuditRule(Account,
 Rights, AuditRule))

        ' Set the new access settings.
        File.SetAccessControl(FileName, fSecurity)

    End Sub
End Module
using System;
using System.IO;
using System.Security.AccessControl;

namespace FileSystemExample
{
    class FileExample
    {
        public static void
 Main()
        {
            try
            {
                string FileName = "test.xml";

                Console.WriteLine("Adding access control entry for
 " + FileName);

                // Add the access control entry to the file.
                AddFileAuditRule(FileName, @"MYDOMAIN\MyAccount", FileSystemRights.ReadData,
 AuditFlags.Failure);

                Console.WriteLine("Removing access control entry from "
 + FileName);

                // Remove the access control entry from the file.
                RemoveFileAuditRule(FileName, @"MYDOMAIN\MyAccount", FileSystemRights.ReadData,
 AuditFlags.Failure);

                Console.WriteLine("Done.");
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }

            Console.ReadLine();
        }

        // Adds an ACL entry on the specified file for the specified
 account.
        public static void
 AddFileAuditRule(string FileName, string
 Account, FileSystemRights Rights, AuditFlags AuditRule)
        {


            // Get a FileSecurity object that represents the 
            // current security settings.
            FileSecurity fSecurity = File.GetAccessControl(FileName);

            // Add the FileSystemAuditRule to the security settings.
 
            fSecurity.AddAuditRule(new FileSystemAuditRule(Account
,
                                                            Rights,
                                                            AuditRule));

            // Set the new access settings.
            File.SetAccessControl(FileName, fSecurity);

        }

        // Removes an ACL entry on the specified file for the specified
 account.
        public static void
 RemoveFileAuditRule(string FileName, string
 Account, FileSystemRights Rights, AuditFlags AuditRule)
        {

            // Get a FileSecurity object that represents the 
            // current security settings.
            FileSecurity fSecurity = File.GetAccessControl(FileName);

            // Add the FileSystemAuditRule to the security settings.
 
            fSecurity.RemoveAuditRule(new FileSystemAuditRule(Account
,
                                                            Rights,
                                                            AuditRule));

            // Set the new access settings.
            File.SetAccessControl(FileName, fSecurity);

        }
    }
}
継承階層継承階層
System.Object
   System.Security.AccessControl.AuthorizationRule
     System.Security.AccessControl.AuditRule
      System.Security.AccessControl.FileSystemAuditRule
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileSystemAuditRule メンバ
System.Security.AccessControl 名前空間

FileSystemAuditRule コンストラクタ (String, FileSystemRights, InheritanceFlags, PropagationFlags, AuditFlags)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

ユーザー アカウント名、監査規則に関連付けられた操作の種類を指定する値、権限の継承方法を決定する値、権限の反映方法を決定する値、およびいつ監査を実行するのかを指定する値を使用して、FileSystemAuditRule クラスの新しいインスタンスを初期化します。

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub New ( _
    identity As String, _
    fileSystemRights As FileSystemRights, _
    inheritanceFlags As InheritanceFlags, _
    propagationFlags As PropagationFlags, _
    flags As AuditFlags _
)
Dim identity As String
Dim fileSystemRights As FileSystemRights
Dim inheritanceFlags As InheritanceFlags
Dim propagationFlags As PropagationFlags
Dim flags As AuditFlags

Dim instance As New FileSystemAuditRule(identity,
 fileSystemRights, inheritanceFlags, propagationFlags, flags)
public FileSystemAuditRule (
    string identity,
    FileSystemRights fileSystemRights,
    InheritanceFlags inheritanceFlags,
    PropagationFlags propagationFlags,
    AuditFlags flags
)
public:
FileSystemAuditRule (
    String^ identity, 
    FileSystemRights fileSystemRights, 
    InheritanceFlags inheritanceFlags, 
    PropagationFlags propagationFlags, 
    AuditFlags flags
)
public FileSystemAuditRule (
    String identity, 
    FileSystemRights fileSystemRights, 
    InheritanceFlags inheritanceFlags, 
    PropagationFlags propagationFlags, 
    AuditFlags flags
)
public function FileSystemAuditRule (
    identity : String, 
    fileSystemRights : FileSystemRights, 
    inheritanceFlags : InheritanceFlags, 
    propagationFlags : PropagationFlags, 
    flags : AuditFlags
)

パラメータ

identity

ユーザー アカウント名。

fileSystemRights

監査規則に関連付けられた操作の種類を指定する FileSystemRights 値の 1 つ。

inheritanceFlags

子オブジェクトにアクセス マスクを反映する方法を指定する InheritanceFlags 値の 1 つ。

propagationFlags

子オブジェクトにアクセス制御エントリ (ACE) を反映する方法を指定する PropagationFlags 値の 1 つ。

flags

いつ監査を実行するのかを指定する AuditFlags 値の 1 つ。

解説解説
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileSystemAuditRule クラス
FileSystemAuditRule メンバ
System.Security.AccessControl 名前空間

FileSystemAuditRule コンストラクタ (String, FileSystemRights, AuditFlags)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

ユーザー アカウント名、監査規則に関連付けられた操作の種類を指定する値、およびいつ監査を実行するのかを指定する値を使用して、FileSystemAuditRule クラスの新しいインスタンスを初期化します。

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub New ( _
    identity As String, _
    fileSystemRights As FileSystemRights, _
    flags As AuditFlags _
)
Dim identity As String
Dim fileSystemRights As FileSystemRights
Dim flags As AuditFlags

Dim instance As New FileSystemAuditRule(identity,
 fileSystemRights, flags)
public FileSystemAuditRule (
    string identity,
    FileSystemRights fileSystemRights,
    AuditFlags flags
)
public:
FileSystemAuditRule (
    String^ identity, 
    FileSystemRights fileSystemRights, 
    AuditFlags flags
)
public FileSystemAuditRule (
    String identity, 
    FileSystemRights fileSystemRights, 
    AuditFlags flags
)
public function FileSystemAuditRule (
    identity : String, 
    fileSystemRights : FileSystemRights, 
    flags : AuditFlags
)

パラメータ

identity

ユーザー アカウント名。

fileSystemRights

監査規則に関連付けられた操作の種類を指定する FileSystemRights 値の 1 つ。

flags

いつ監査を実行するのかを指定する AuditFlags 値の 1 つ。

例外例外
例外の種類条件

ArgumentOutOfRangeException

flags パラメータに誤った列挙体が渡されました。

または

None 値が flags パラメータに渡されました。

解説解説
使用例使用例

FileSystemAuditRule クラスを使用して、ファイルに監査規則を追加し、次にファイルから監査規則を削除するコード例を次に示します。この例を実行するには、有効なユーザー アカウントまたはグループ アカウントを指定する必要があります。

Imports System
Imports System.IO
Imports System.Security.AccessControl



Module FileExample

    Sub Main()
        Try
            Dim FileName As String
 = "test.xml"

            Console.WriteLine("Adding access control entry for
 " + FileName)

            ' Add the access control entry to the file.
            AddFileAuditRule(FileName, "MYDOMAIN\MyAccount",
 FileSystemRights.ReadData, AuditFlags.Failure)

            Console.WriteLine("Removing access control entry from
 " + FileName)

            ' Remove the access control entry from the file.
            RemoveFileAuditRule(FileName, "MYDOMAIN\MyAccount",
 FileSystemRights.ReadData, AuditFlags.Failure)

            Console.WriteLine("Done.")
        Catch e As Exception
            Console.WriteLine(e)
        End Try

        Console.ReadLine()

    End Sub


    ' Adds an ACL entry on the specified file for the specified account.
    Sub AddFileAuditRule(ByVal FileName As
 String, ByVal Account As
 String, ByVal Rights As FileSystemRights, ByVal AuditRule As AuditFlags)


        ' Get a FileSecurity object that represents the 
        ' current security settings.
        Dim fSecurity As FileSecurity = File.GetAccessControl(FileName)

        ' Add the FileSystemAuditRule to the security settings. 
        fSecurity.AddAuditRule(New FileSystemAuditRule(Account,
 Rights, AuditRule))

        ' Set the new access settings.
        File.SetAccessControl(FileName, fSecurity)

    End Sub


    ' Removes an ACL entry on the specified file for the specified account.
    Sub RemoveFileAuditRule(ByVal FileName
 As String, ByVal Account
 As String, ByVal Rights As FileSystemRights, ByVal AuditRule As
 AuditFlags)

        ' Get a FileSecurity object that represents the 
        ' current security settings.
        Dim fSecurity As FileSecurity = File.GetAccessControl(FileName)

        ' Add the FileSystemAuditRule to the security settings. 
        fSecurity.RemoveAuditRule(New FileSystemAuditRule(Account,
 Rights, AuditRule))

        ' Set the new access settings.
        File.SetAccessControl(FileName, fSecurity)

    End Sub
End Module
using System;
using System.IO;
using System.Security.AccessControl;

namespace FileSystemExample
{
    class FileExample
    {
        public static void
 Main()
        {
            try
            {
                string FileName = "test.xml";

                Console.WriteLine("Adding access control entry for
 " + FileName);

                // Add the access control entry to the file.
                AddFileAuditRule(FileName, @"MYDOMAIN\MyAccount", FileSystemRights.ReadData,
 AuditFlags.Failure);

                Console.WriteLine("Removing access control entry from "
 + FileName);

                // Remove the access control entry from the file.
                RemoveFileAuditRule(FileName, @"MYDOMAIN\MyAccount", FileSystemRights.ReadData,
 AuditFlags.Failure);

                Console.WriteLine("Done.");
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }

            Console.ReadLine();
        }

        // Adds an ACL entry on the specified file for the specified
 account.
        public static void
 AddFileAuditRule(string FileName, string
 Account, FileSystemRights Rights, AuditFlags AuditRule)
        {


            // Get a FileSecurity object that represents the 
            // current security settings.
            FileSecurity fSecurity = File.GetAccessControl(FileName);

            // Add the FileSystemAuditRule to the security settings.
 
            fSecurity.AddAuditRule(new FileSystemAuditRule(Account
,
                                                            Rights,
                                                            AuditRule));

            // Set the new access settings.
            File.SetAccessControl(FileName, fSecurity);

        }

        // Removes an ACL entry on the specified file for the specified
 account.
        public static void
 RemoveFileAuditRule(string FileName, string
 Account, FileSystemRights Rights, AuditFlags AuditRule)
        {

            // Get a FileSecurity object that represents the 
            // current security settings.
            FileSecurity fSecurity = File.GetAccessControl(FileName);

            // Add the FileSystemAuditRule to the security settings.
 
            fSecurity.RemoveAuditRule(new FileSystemAuditRule(Account
,
                                                            Rights,
                                                            AuditRule));

            // Set the new access settings.
            File.SetAccessControl(FileName, fSecurity);

        }
    }
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileSystemAuditRule クラス
FileSystemAuditRule メンバ
System.Security.AccessControl 名前空間

FileSystemAuditRule コンストラクタ (IdentityReference, FileSystemRights, AuditFlags)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

ユーザー アカウントへの参照、監査規則に関連付けられた操作の種類を指定する値、およびいつ監査を実行するのかを指定する値を使用して、FileSystemAuditRule クラスの新しいインスタンスを初期化します。

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub New ( _
    identity As IdentityReference, _
    fileSystemRights As FileSystemRights, _
    flags As AuditFlags _
)
Dim identity As IdentityReference
Dim fileSystemRights As FileSystemRights
Dim flags As AuditFlags

Dim instance As New FileSystemAuditRule(identity,
 fileSystemRights, flags)
public FileSystemAuditRule (
    IdentityReference identity,
    FileSystemRights fileSystemRights,
    AuditFlags flags
)
public:
FileSystemAuditRule (
    IdentityReference^ identity, 
    FileSystemRights fileSystemRights, 
    AuditFlags flags
)
public FileSystemAuditRule (
    IdentityReference identity, 
    FileSystemRights fileSystemRights, 
    AuditFlags flags
)
public function FileSystemAuditRule (
    identity : IdentityReference, 
    fileSystemRights : FileSystemRights, 
    flags : AuditFlags
)

パラメータ

identity

ユーザー アカウントへの参照をカプセル化する IdentityReference オブジェクト。

fileSystemRights

監査規則に関連付けられた操作の種類を指定する FileSystemRights 値の 1 つ。

flags

いつ監査を実行するのかを指定する AuditFlags 値の 1 つ。

例外例外
例外の種類条件

ArgumentException

identity パラメータが IdentityReference オブジェクトではありません。

ArgumentNullException

identity パラメータが null 参照 (Visual Basic では Nothing) です。

ArgumentOutOfRangeException

flags パラメータに誤った列挙体が渡されました。

または

None 値が flags パラメータに渡されました。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileSystemAuditRule クラス
FileSystemAuditRule メンバ
System.Security.AccessControl 名前空間

FileSystemAuditRule コンストラクタ (IdentityReference, FileSystemRights, InheritanceFlags, PropagationFlags, AuditFlags)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

ユーザー アカウントへの参照の名前、監査規則に関連付けられた操作の種類を指定する値、権限の継承方法を決定する値、権限の反映方法を決定する値、およびいつ監査を実行するのかを指定する値を使用して、FileSystemAuditRule クラスの新しいインスタンスを初期化します。

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub New ( _
    identity As IdentityReference, _
    fileSystemRights As FileSystemRights, _
    inheritanceFlags As InheritanceFlags, _
    propagationFlags As PropagationFlags, _
    flags As AuditFlags _
)
Dim identity As IdentityReference
Dim fileSystemRights As FileSystemRights
Dim inheritanceFlags As InheritanceFlags
Dim propagationFlags As PropagationFlags
Dim flags As AuditFlags

Dim instance As New FileSystemAuditRule(identity,
 fileSystemRights, inheritanceFlags, propagationFlags, flags)
public FileSystemAuditRule (
    IdentityReference identity,
    FileSystemRights fileSystemRights,
    InheritanceFlags inheritanceFlags,
    PropagationFlags propagationFlags,
    AuditFlags flags
)
public:
FileSystemAuditRule (
    IdentityReference^ identity, 
    FileSystemRights fileSystemRights, 
    InheritanceFlags inheritanceFlags, 
    PropagationFlags propagationFlags, 
    AuditFlags flags
)
public FileSystemAuditRule (
    IdentityReference identity, 
    FileSystemRights fileSystemRights, 
    InheritanceFlags inheritanceFlags, 
    PropagationFlags propagationFlags, 
    AuditFlags flags
)
public function FileSystemAuditRule (
    identity : IdentityReference, 
    fileSystemRights : FileSystemRights, 
    inheritanceFlags : InheritanceFlags, 
    propagationFlags : PropagationFlags, 
    flags : AuditFlags
)

パラメータ

identity

ユーザー アカウントへの参照をカプセル化する IdentityReference オブジェクト。

fileSystemRights

監査規則に関連付けられた操作の種類を指定する FileSystemRights 値の 1 つ。

inheritanceFlags

子オブジェクトにアクセス マスクを反映する方法を指定する InheritanceFlags 値の 1 つ。

propagationFlags

子オブジェクトにアクセス制御エントリ (ACE) を反映する方法を指定する PropagationFlags 値の 1 つ。

flags

いつ監査を実行するのかを指定する AuditFlags 値の 1 つ。

例外例外
例外の種類条件

ArgumentException

identity パラメータが IdentityReference オブジェクトではありません。

ArgumentNullException

identity パラメータが null 参照 (Visual Basic では Nothing) です。

ArgumentOutOfRangeException

flags パラメータに誤った列挙体が渡されました。

または

None 値が flags パラメータに渡されました。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileSystemAuditRule クラス
FileSystemAuditRule メンバ
System.Security.AccessControl 名前空間

FileSystemAuditRule コンストラクタ

FileSystemAuditRule クラスの新しいインスタンスを初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
FileSystemAuditRule (IdentityReference, FileSystemRights, AuditFlags) ユーザー アカウントへの参照、監査規則に関連付けられた操作の種類を指定する値、およびいつ監査を実行するのかを指定する値を使用して、FileSystemAuditRule クラスの新しいインスタンスを初期化します。
FileSystemAuditRule (String, FileSystemRights, AuditFlags) ユーザー アカウント名、監査規則に関連付けられた操作の種類を指定する値、およびいつ監査を実行するのかを指定する値を使用して、FileSystemAuditRule クラスの新しいインスタンスを初期化します。
FileSystemAuditRule (IdentityReference, FileSystemRights, InheritanceFlags, PropagationFlags, AuditFlags) ユーザー アカウントへの参照の名前、監査規則に関連付けられた操作の種類を指定する値、権限の継承方法を決定する値、権限の反映方法を決定する値、およびいつ監査を実行するのかを指定する値を使用して、FileSystemAuditRule クラスの新しいインスタンスを初期化します。
FileSystemAuditRule (String, FileSystemRights, InheritanceFlags, PropagationFlags, AuditFlags) ユーザー アカウント名、監査規則に関連付けられた操作の種類を指定する値、権限の継承方法を決定する値、権限の反映方法を決定する値、およびいつ監査を実行するのかを指定する値を使用して、FileSystemAuditRule クラスの新しいインスタンスを初期化します。
参照参照

関連項目

FileSystemAuditRule クラス
FileSystemAuditRule メンバ
System.Security.AccessControl 名前空間

FileSystemAuditRule プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ AuditFlags  この監査規則の監査フラグを取得します。 ( AuditRule から継承されます。)
パブリック プロパティ FileSystemRights 現在の FileSystemAuditRule オブジェクトに関連付けられている FileSystemRights フラグを取得します。
パブリック プロパティ IdentityReference  この規則を適用する IdentityReference を取得します。 ( AuthorizationRule から継承されます。)
パブリック プロパティ InheritanceFlags  この規則を子オブジェクトが継承する方法を決定するフラグの値を取得します。 ( AuthorizationRule から継承されます。)
パブリック プロパティ IsInherited  この規則を明示的に設定するか、または親コンテナ オブジェクトから継承するかを指定する値を取得します。 ( AuthorizationRule から継承されます。)
パブリック プロパティ PropagationFlags  反映フラグの値を取得します。このフラグから、この規則を子オブジェクトに反映させる方法を判断します。このプロパティが重要なのは、InheritanceFlags 列挙体の値が None でない場合だけです。 ( AuthorizationRule から継承されます。)
参照参照

関連項目

FileSystemAuditRule クラス
System.Security.AccessControl 名前空間

FileSystemAuditRule メソッド


FileSystemAuditRule メンバ

ファイルまたはディレクトリの監査規則を定義するアクセス制御エントリ (ACE: Access Control Entry) の抽象化を表します。このクラスは継承できません。

FileSystemAuditRule データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド FileSystemAuditRule オーバーロードされます。 FileSystemAuditRule クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ AuditFlags  この監査規則の監査フラグを取得します。(AuditRule から継承されます。)
パブリック プロパティ FileSystemRights 現在の FileSystemAuditRule オブジェクトに関連付けられている FileSystemRights フラグを取得します。
パブリック プロパティ IdentityReference  この規則を適用する IdentityReference を取得します。(AuthorizationRule から継承されます。)
パブリック プロパティ InheritanceFlags  この規則を子オブジェクトが継承する方法を決定するフラグの値を取得します。(AuthorizationRule から継承されます。)
パブリック プロパティ IsInherited  この規則を明示的に設定するか、または親コンテナ オブジェクトから継承するかを指定する値を取得します。(AuthorizationRule から継承されます。)
パブリック プロパティ PropagationFlags  反映フラグの値を取得します。このフラグから、この規則を子オブジェクトに反映させる方法を判断します。このプロパティが重要なのは、InheritanceFlags 列挙体の値が None でない場合だけです。(AuthorizationRule から継承されます。)
パブリック メソッドパブリック メソッド
参照参照

関連項目

FileSystemAuditRule クラス
System.Security.AccessControl 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「FileSystemAuditRule」の関連用語

FileSystemAuditRuleのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



FileSystemAuditRuleのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS