CommonSecurityDescriptor クラス
アセンブリ: mscorlib (mscorlib.dll 内)


System.Security.AccessControl.GenericSecurityDescriptor
System.Security.AccessControl.CommonSecurityDescriptor


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CommonSecurityDescriptor コンストラクタ (Boolean, Boolean, String)
アセンブリ: mscorlib (mscorlib.dll 内)

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

新しい RawSecurityDescriptor オブジェクトを作成する際の基になるセキュリティ記述子で、随意アクセス制御リスト (DACL) が null 参照 (Visual Basic では Nothing) として定義されていた場合、全員にフルアクセス許可を与える (AEFA: Allows Everyone Full Access) アクセス制御エントリ (Access Control Entry) が 1 つ DACL に追加されます。セキュリティ記述子に含まれている、AEFA ACE が追加された DACL がアプリケーションによって変更されると、その AEFA ACE は、DACL が永続されるときに一緒に永続化されることになります。
その結果、アプリケーションがプリンシパルへのアクセスを意図せずに許可してしまう場合があります。このような事態を防ぐため、アプリケーションでは、セキュリティ記述子を変更する前に、AEFA ACE が存在していないかどうかをチェックして、削除する必要があります。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CommonSecurityDescriptor コンストラクタ (Boolean, Boolean, RawSecurityDescriptor)
アセンブリ: 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 )

新しい RawSecurityDescriptor オブジェクトを作成する際の基になるセキュリティ記述子で、随意アクセス制御リスト (DACL) が null 参照 (Visual Basic では Nothing) として定義されていた場合、全員にフルアクセス許可を与える (AEFA: Allows Everyone Full Access) アクセス制御エントリ (Access Control Entry) が 1 つ DACL に追加されます。セキュリティ記述子に含まれている、AEFA ACE が追加された DACL がアプリケーションによって変更されると、その AEFA ACE は、DACL が永続されるときに一緒に永続化されることになります。
その結果、アプリケーションがプリンシパルへのアクセスを意図せずに許可してしまう場合があります。このような事態を防ぐため、アプリケーションでは、セキュリティ記述子を変更する前に、AEFA ACE が存在していないかどうかをチェックして、削除する必要があります。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CommonSecurityDescriptor コンストラクタ (Boolean, Boolean, Byte[], Int32)
アセンブリ: 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, 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 )

新しい RawSecurityDescriptor オブジェクトを作成する際の基になるセキュリティ記述子で、随意アクセス制御リスト (DACL) が null 参照 (Visual Basic では Nothing) として定義されていた場合、全員にフルアクセス許可を与える (AEFA: Allows Everyone Full Access) アクセス制御エントリ (Access Control Entry) が 1 つ DACL に追加されます。セキュリティ記述子に含まれている、AEFA ACE が追加された DACL がアプリケーションによって変更されると、その AEFA ACE は、DACL が永続されるときに一緒に永続化されることになります。
その結果、アプリケーションがプリンシパルへのアクセスを意図せずに許可してしまう場合があります。このような事態を防ぐため、アプリケーションでは、セキュリティ記述子を変更する前に、AEFA ACE が存在していないかどうかをチェックして、削除する必要があります。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CommonSecurityDescriptor コンストラクタ (Boolean, Boolean, ControlFlags, SecurityIdentifier, SecurityIdentifier, SystemAcl, DiscretionaryAcl)
アセンブリ: 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 )

新しい RawSecurityDescriptor オブジェクトを作成する際の基になるセキュリティ記述子で、随意アクセス制御リスト (DACL) が null 参照 (Visual Basic では Nothing) として定義されていた場合、全員にフルアクセス許可を与える (AEFA: Allows Everyone Full Access) アクセス制御エントリ (Access Control Entry) が 1 つ DACL に追加されます。セキュリティ記述子に含まれている、AEFA ACE が追加された DACL がアプリケーションによって変更されると、その AEFA ACE は、DACL が永続されるときに一緒に永続化されることになります。
その結果、アプリケーションがプリンシパルへのアクセスを意図せずに許可してしまう場合があります。このような事態を防ぐため、アプリケーションでは、セキュリティ記述子を変更する前に、AEFA ACE が存在していないかどうかをチェックして、削除する必要があります。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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 プロパティ

名前 | 説明 | |
---|---|---|
![]() | 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 メソッド

名前 | 説明 | |
---|---|---|
![]() | 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 メンバ
セキュリティ記述子を表します。セキュリティ記述子には、所有者、プライマリ グループ、随意アクセス制御リスト (DACL: Discretionary Access Control List)、システム アクセス制御リスト (SACL: System Access Control List) が含まれます。
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 から継承されます。) |

Weblioに収録されているすべての辞書からCommonSecurityDescriptorを検索する場合は、下記のリンクをクリックしてください。

- CommonSecurityDescriptorのページへのリンク