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

CommonSecurityDescriptor クラス

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

セキュリティ記述子を表します。セキュリティ記述子には、所有者、プライマリ グループ、随意アクセス制御リスト (DACL: Discretionary Access Control List)、システム アクセス制御リスト (SACL: System Access Control List) が含まれます。

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

Public NotInheritable Class
 CommonSecurityDescriptor
    Inherits GenericSecurityDescriptor
Dim instance As CommonSecurityDescriptor
public sealed class CommonSecurityDescriptor
 : GenericSecurityDescriptor
public ref class CommonSecurityDescriptor sealed
 : public GenericSecurityDescriptor
public final class CommonSecurityDescriptor
 extends GenericSecurityDescriptor
public final class CommonSecurityDescriptor
 extends GenericSecurityDescriptor
継承階層継承階層
System.Object
   System.Security.AccessControl.GenericSecurityDescriptor
    System.Security.AccessControl.CommonSecurityDescriptor
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CommonSecurityDescriptor メンバ
System.Security.AccessControl 名前空間

CommonSecurityDescriptor コンストラクタ (Boolean, Boolean, String)

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

指定した SDDL (Security Descriptor Definition Language) 文字列から CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。

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

Public Sub New ( _
    isContainer As Boolean, _
    isDS As Boolean, _
    sddlForm As String _
)
Dim isContainer As Boolean
Dim isDS As Boolean
Dim sddlForm As String

Dim instance As New CommonSecurityDescriptor(isContainer,
 isDS, sddlForm)
public CommonSecurityDescriptor (
    bool isContainer,
    bool isDS,
    string sddlForm
)
public:
CommonSecurityDescriptor (
    bool isContainer, 
    bool isDS, 
    String^ sddlForm
)
public CommonSecurityDescriptor (
    boolean isContainer, 
    boolean isDS, 
    String sddlForm
)
public function CommonSecurityDescriptor (
    isContainer : boolean, 
    isDS : boolean, 
    sddlForm : String
)

パラメータ

isContainer

新しいセキュリティ記述子がコンテナ オブジェクトに関連付けられている場合は true。

isDS

新しいセキュリティ記述子がディレクトリ オブジェクトに関連付けられている場合は true。

sddlForm

新しい CommonSecurityDescriptor オブジェクトの作成元の SDDL 文字列。

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

CommonSecurityDescriptor コンストラクタ (Boolean, Boolean, RawSecurityDescriptor)

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

指定した RawSecurityDescriptor オブジェクトから CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。

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

Public Sub New ( _
    isContainer As Boolean, _
    isDS As Boolean, _
    rawSecurityDescriptor As RawSecurityDescriptor _
)
Dim isContainer As Boolean
Dim isDS As Boolean
Dim rawSecurityDescriptor As RawSecurityDescriptor

Dim instance As New CommonSecurityDescriptor(isContainer,
 isDS, rawSecurityDescriptor)
public CommonSecurityDescriptor (
    bool isContainer,
    bool isDS,
    RawSecurityDescriptor rawSecurityDescriptor
)
public:
CommonSecurityDescriptor (
    bool isContainer, 
    bool isDS, 
    RawSecurityDescriptor^ rawSecurityDescriptor
)
public CommonSecurityDescriptor (
    boolean isContainer, 
    boolean isDS, 
    RawSecurityDescriptor rawSecurityDescriptor
)
public function CommonSecurityDescriptor (
    isContainer : boolean, 
    isDS : boolean, 
    rawSecurityDescriptor : RawSecurityDescriptor
)

パラメータ

isContainer

新しいセキュリティ記述子がコンテナ オブジェクトに関連付けられている場合は true。

isDS

新しいセキュリティ記述子がディレクトリ オブジェクトに関連付けられている場合は true。

rawSecurityDescriptor

新しい CommonSecurityDescriptor オブジェクトの作成元の RawSecurityDescriptor オブジェクト。

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

CommonSecurityDescriptor コンストラクタ (Boolean, Boolean, Byte[], Int32)

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

指定したバイト値の配列から CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。

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

Public Sub New ( _
    isContainer As Boolean, _
    isDS As Boolean, _
    binaryForm As Byte(), _
    offset As Integer _
)
Dim isContainer As Boolean
Dim isDS As Boolean
Dim binaryForm As Byte()
Dim offset As Integer

Dim instance As New CommonSecurityDescriptor(isContainer,
 isDS, binaryForm, offset)
public CommonSecurityDescriptor (
    bool isContainer,
    bool isDS,
    byte[] binaryForm,
    int offset
)
public:
CommonSecurityDescriptor (
    bool isContainer, 
    bool isDS, 
    array<unsigned char>^ binaryForm, 
    int offset
)
public CommonSecurityDescriptor (
    boolean isContainer, 
    boolean isDS, 
    byte[] binaryForm, 
    int offset
)
public function CommonSecurityDescriptor (
    isContainer : boolean, 
    isDS : boolean, 
    binaryForm : byte[], 
    offset : int
)

パラメータ

isContainer

新しいセキュリティ記述子がコンテナ オブジェクトに関連付けられている場合は true。

isDS

新しいセキュリティ記述子がディレクトリ オブジェクトに関連付けられている場合は true。

binaryForm

新しい CommonSecurityDescriptor オブジェクトの作成元となるバイト値の配列。

offset

コピーの開始位置を示す binaryForm 配列内のオフセット。

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

CommonSecurityDescriptor コンストラクタ (Boolean, Boolean, ControlFlags, SecurityIdentifier, SecurityIdentifier, SystemAcl, DiscretionaryAcl)

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

指定した情報で CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。

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

Public Sub New ( _
    isContainer As Boolean, _
    isDS As Boolean, _
    flags As ControlFlags, _
    owner As SecurityIdentifier, _
    group As SecurityIdentifier, _
    systemAcl As SystemAcl, _
    discretionaryAcl As DiscretionaryAcl _
)
Dim isContainer As Boolean
Dim isDS As Boolean
Dim flags As ControlFlags
Dim owner As SecurityIdentifier
Dim group As SecurityIdentifier
Dim systemAcl As SystemAcl
Dim discretionaryAcl As DiscretionaryAcl

Dim instance As New CommonSecurityDescriptor(isContainer,
 isDS, flags, owner, group, systemAcl, discretionaryAcl)
public CommonSecurityDescriptor (
    bool isContainer,
    bool isDS,
    ControlFlags flags,
    SecurityIdentifier owner,
    SecurityIdentifier group,
    SystemAcl systemAcl,
    DiscretionaryAcl discretionaryAcl
)
public:
CommonSecurityDescriptor (
    bool isContainer, 
    bool isDS, 
    ControlFlags flags, 
    SecurityIdentifier^ owner, 
    SecurityIdentifier^ group, 
    SystemAcl^ systemAcl, 
    DiscretionaryAcl^ discretionaryAcl
)
public CommonSecurityDescriptor (
    boolean isContainer, 
    boolean isDS, 
    ControlFlags flags, 
    SecurityIdentifier owner, 
    SecurityIdentifier group, 
    SystemAcl systemAcl, 
    DiscretionaryAcl discretionaryAcl
)
public function CommonSecurityDescriptor (
    isContainer : boolean, 
    isDS : boolean, 
    flags : ControlFlags, 
    owner : SecurityIdentifier, 
    group : SecurityIdentifier, 
    systemAcl : SystemAcl, 
    discretionaryAcl : DiscretionaryAcl
)

パラメータ

isContainer

新しいセキュリティ記述子がコンテナ オブジェクトに関連付けられている場合は true。

isDS

新しいセキュリティ記述子がディレクトリ オブジェクトに関連付けられている場合は true。

flags

新しい CommonSecurityDescriptor オブジェクトの動作を指定するフラグ。

owner

新しい CommonSecurityDescriptor オブジェクトの所有者。

group

新しい CommonSecurityDescriptor オブジェクトのプライマリ グループ。

systemAcl

新しい CommonSecurityDescriptor オブジェクトの システム アクセス制御リスト (SACL: System Access Control List)。

discretionaryAcl

新しい CommonSecurityDescriptor オブジェクトの随意アクセス制御リスト (DACL: Discretionary Access Control List)。

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

CommonSecurityDescriptor コンストラクタ

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

名前 説明
CommonSecurityDescriptor (Boolean, Boolean, RawSecurityDescriptor) 指定した RawSecurityDescriptor オブジェクトから CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
CommonSecurityDescriptor (Boolean, Boolean, String) 指定した SDDL (Security Descriptor Definition Language) 文字列から CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
CommonSecurityDescriptor (Boolean, Boolean, Byte[], Int32) 指定したバイト値の配列から CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
CommonSecurityDescriptor (Boolean, Boolean, ControlFlags, SecurityIdentifier, SecurityIdentifier, SystemAcl, DiscretionaryAcl) 指定した情報で CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
参照参照

関連項目

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

CommonSecurityDescriptor プロパティ


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

  名前 説明
パブリック プロパティ BinaryLength  現在の GenericSecurityDescriptor オブジェクトのバイナリ表現の長さ (バイト単位) を取得します。GetBinaryForm メソッドで ACL をバイナリ配列にマーシャリングする前に、この長さを使用する必要があります。 ( GenericSecurityDescriptor から継承されます。)
パブリック プロパティ ControlFlags オーバーライドされます。 CommonSecurityDescriptor オブジェクトの動作を指定する値を取得します。
パブリック プロパティ DiscretionaryAcl この CommonSecurityDescriptor オブジェクトの随意アクセス制御リスト (DACL) を取得または設定します。DACL にはアクセス規則が格納されます。
パブリック プロパティ Group オーバーライドされます。 この CommonSecurityDescriptor オブジェクトのプライマリ グループを取得または設定します。
パブリック プロパティ IsContainer この CommonSecurityDescriptor オブジェクトに関連付けられたオブジェクトがコンテナ オブジェクトであるかどうかを指定するブール値を取得します。
パブリック プロパティ IsDiscretionaryAclCanonical この CommonSecurityDescriptor オブジェクトに関連付けられた随意アクセス制御リスト (DACL: Discretionary Access Control List) で使用する順序が標準の順序であるかどうかを示すブール値を取得します。
パブリック プロパティ IsDS この CommonSecurityDescriptor オブジェクトに関連付けられたオブジェクトがディレクトリ オブジェクトであるかどうかを指定するブール値を取得します。
パブリック プロパティ IsSystemAclCanonical この CommonSecurityDescriptor オブジェクトに関連付けられたシステム アクセス制御リスト (SACL: System Access Control List) で使用する順序が標準の順序であるかどうかを示すブール値を取得します。
パブリック プロパティ Owner オーバーライドされます。 この CommonSecurityDescriptor オブジェクトに関連付けられているオブジェクトの所有者を取得または設定します。
パブリック プロパティ Revision  GenericSecurityDescriptor オブジェクトのリビジョン レベルを取得します。 ( GenericSecurityDescriptor から継承されます。)
パブリック プロパティ SystemAcl この CommonSecurityDescriptor オブジェクトのシステム アクセス制御リスト (SACL: System Access Control List) を取得または設定します。SACL には監査規則が格納されます。
参照参照

関連項目

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

CommonSecurityDescriptor メソッド


パブリック メソッドパブリック メソッド

  名前 説明
パブリック メソッド Equals  オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。)
パブリック メソッド GetBinaryForm  この GenericSecurityDescriptor オブジェクトに格納された情報を表すバイト値の配列を返します。 ( GenericSecurityDescriptor から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。)
パブリック メソッド GetSddlForm  この GenericSecurityDescriptor オブジェクトが表すセキュリティ記述子の指定したセクションの SDDL (Security Descriptor Definition Language) 形式を返します。 ( GenericSecurityDescriptor から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 ( Object から継承されます。)
パブリック メソッド IsSddlConversionSupported  この GenericSecurityDescriptor オブジェクトに関連付けられたセキュリティ記述子を SDDL (Security Descriptor Definition Language) 形式に変換できるかどうかを示すブール値を返します。 ( GenericSecurityDescriptor から継承されます。)
パブリック メソッド PurgeAccessControl 指定したセキュリティ識別子のすべてのアクセス規則を、この CommonSecurityDescriptor オブジェクトに関連付けられた随意アクセス制御リスト (DACL) から削除します。
パブリック メソッド PurgeAudit 指定したセキュリティ識別子のすべての監査規則を、この CommonSecurityDescriptor オブジェクトに関連付けられたシステム アクセス制御リスト (SACL: System Access Control List) から削除します。
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。)
パブリック メソッド SetDiscretionaryAclProtection この CommonSecurityDescriptor オブジェクトに関連付けられた随意アクセス制御リスト (DACL: Discretionary Access Control List) の継承保護を設定します。保護された DACL は、親コンテナからアクセス規則を継承しません。
パブリック メソッド SetSystemAclProtection この CommonSecurityDescriptor オブジェクトに関連付けられたシステム アクセス制御リスト (SACL) の継承保護を設定します。保護された SACL は、親コンテナから監査規則を継承しません。
パブリック メソッド ToString  現在の Object を表す String を返します。 ( Object から継承されます。)
参照参照

関連項目

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

CommonSecurityDescriptor メンバ

セキュリティ記述子を表します。セキュリティ記述子には、所有者、プライマリ グループ、随意アクセス制御リスト (DACL: Discretionary Access Control List)、システム アクセス制御リスト (SACL: System Access Control List) が含まれます。

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


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド CommonSecurityDescriptor オーバーロードされます。 CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ BinaryLength  現在の GenericSecurityDescriptor オブジェクトのバイナリ表現の長さ (バイト単位) を取得します。GetBinaryForm メソッドで ACL をバイナリ配列にマーシャリングする前に、この長さを使用する必要があります。(GenericSecurityDescriptor から継承されます。)
パブリック プロパティ ControlFlags オーバーライドされます。 CommonSecurityDescriptor オブジェクトの動作を指定する値を取得します。
パブリック プロパティ DiscretionaryAcl この CommonSecurityDescriptor オブジェクトの随意アクセス制御リスト (DACL) を取得または設定します。DACL にはアクセス規則が格納されます。
パブリック プロパティ Group オーバーライドされます。 この CommonSecurityDescriptor オブジェクトのプライマリ グループを取得または設定します。
パブリック プロパティ IsContainer この CommonSecurityDescriptor オブジェクトに関連付けられたオブジェクトがコンテナ オブジェクトであるかどうかを指定するブール値を取得します。
パブリック プロパティ IsDiscretionaryAclCanonical この CommonSecurityDescriptor オブジェクトに関連付けられた随意アクセス制御リスト (DACL: Discretionary Access Control List) で使用する順序が標準の順序であるかどうかを示すブール値を取得します。
パブリック プロパティ IsDS この CommonSecurityDescriptor オブジェクトに関連付けられたオブジェクトがディレクトリ オブジェクトであるかどうかを指定するブール値を取得します。
パブリック プロパティ IsSystemAclCanonical この CommonSecurityDescriptor オブジェクトに関連付けられたシステム アクセス制御リスト (SACL: System Access Control List) で使用する順序が標準の順序であるかどうかを示すブール値を取得します。
パブリック プロパティ Owner オーバーライドされます。 この CommonSecurityDescriptor オブジェクトに関連付けられているオブジェクトの所有者を取得または設定します。
パブリック プロパティ Revision  GenericSecurityDescriptor オブジェクトのリビジョン レベルを取得します。(GenericSecurityDescriptor から継承されます。)
パブリック プロパティ SystemAcl この CommonSecurityDescriptor オブジェクトのシステム アクセス制御リスト (SACL: System Access Control List) を取得または設定します。SACL には監査規則が格納されます。
パブリック メソッドパブリック メソッド
  名前 説明
パブリック メソッド Equals  オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。)
パブリック メソッド GetBinaryForm  この GenericSecurityDescriptor オブジェクトに格納された情報を表すバイト値の配列を返します。 (GenericSecurityDescriptor から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。)
パブリック メソッド GetSddlForm  この GenericSecurityDescriptor オブジェクトが表すセキュリティ記述子の指定したセクションの SDDL (Security Descriptor Definition Language) 形式を返します。 (GenericSecurityDescriptor から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsSddlConversionSupported  この GenericSecurityDescriptor オブジェクトに関連付けられたセキュリティ記述子を SDDL (Security Descriptor Definition Language) 形式に変換できるかどうかを示すブール値を返します。 (GenericSecurityDescriptor から継承されます。)
パブリック メソッド PurgeAccessControl 指定したセキュリティ識別子のすべてのアクセス規則を、この CommonSecurityDescriptor オブジェクトに関連付けられた随意アクセス制御リスト (DACL) から削除します。
パブリック メソッド PurgeAudit 指定したセキュリティ識別子のすべての監査規則を、この CommonSecurityDescriptor オブジェクトに関連付けられたシステム アクセス制御リスト (SACL: System Access Control List) から削除します。
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。)
パブリック メソッド SetDiscretionaryAclProtection この CommonSecurityDescriptor オブジェクトに関連付けられた随意アクセス制御リスト (DACL: Discretionary Access Control List) の継承保護を設定します。保護された DACL は、親コンテナからアクセス規則を継承しません。
パブリック メソッド SetSystemAclProtection この CommonSecurityDescriptor オブジェクトに関連付けられたシステム アクセス制御リスト (SACL) の継承保護を設定します。保護された SACL は、親コンテナから監査規則を継承しません。
パブリック メソッド ToString  現在の Object を表す String を返します。 (Object から継承されます。)
参照参照

関連項目

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「CommonSecurityDescriptor」の関連用語

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

   

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



CommonSecurityDescriptorのページの著作権

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

©2026 GRAS Group, Inc.RSS