CommonSecurityDescriptor コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| CommonSecurityDescriptor(Boolean, Boolean, RawSecurityDescriptor) |
指定したCommonSecurityDescriptor オブジェクトからRawSecurityDescriptor クラスの新しいインスタンスを初期化します。 |
| CommonSecurityDescriptor(Boolean, Boolean, String) |
指定したセキュリティ記述子定義言語 (SDDL) 文字列から、 CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。 |
| CommonSecurityDescriptor(Boolean, Boolean, Byte[], Int32) |
指定したバイト値の配列から、 CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。 |
| CommonSecurityDescriptor(Boolean, Boolean, ControlFlags, SecurityIdentifier, SecurityIdentifier, SystemAcl, DiscretionaryAcl) |
指定した情報から、 CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。 |
CommonSecurityDescriptor(Boolean, Boolean, RawSecurityDescriptor)
指定したCommonSecurityDescriptor オブジェクトからRawSecurityDescriptor クラスの新しいインスタンスを初期化します。
public:
CommonSecurityDescriptor(bool isContainer, bool isDS, System::Security::AccessControl::RawSecurityDescriptor ^ rawSecurityDescriptor);
public CommonSecurityDescriptor(bool isContainer, bool isDS, System.Security.AccessControl.RawSecurityDescriptor rawSecurityDescriptor);
new System.Security.AccessControl.CommonSecurityDescriptor : bool * bool * System.Security.AccessControl.RawSecurityDescriptor -> System.Security.AccessControl.CommonSecurityDescriptor
Public Sub New (isContainer As Boolean, isDS As Boolean, rawSecurityDescriptor As RawSecurityDescriptor)
パラメーター
- isContainer
- Boolean
true 新しいセキュリティ記述子がコンテナー オブジェクトに関連付けられている場合は 。
- isDS
- Boolean
true 新しいセキュリティ記述子がディレクトリ オブジェクトに関連付けられている場合は 。
- rawSecurityDescriptor
- RawSecurityDescriptor
新しいRawSecurityDescriptor オブジェクトの作成元となるCommonSecurityDescriptor オブジェクト。
注釈
新しい RawSecurityDescriptor オブジェクトの作成元の基になるセキュリティ記述子に、その随意アクセス制御リスト (DACL) の null が含まれている場合は、すべてのユーザーにフル アクセス (AEFA) を許可する 1 つのアクセス制御エントリ (ACE) が DACL に追加されます。 アプリケーションが AEFA ACE が追加されたセキュリティ記述子の DACL を変更した場合、その DACL が永続化されるときに、AEFA ACE は DACL と共に保持されます。
これにより、アプリケーションが意図せずにプリンシパルへのアクセスを許可する可能性があります。 このため、アプリケーションは AEFA ACE の存在を確認し、セキュリティ記述子を変更する前に削除する必要があります。
適用対象
CommonSecurityDescriptor(Boolean, Boolean, String)
指定したセキュリティ記述子定義言語 (SDDL) 文字列から、 CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
public:
CommonSecurityDescriptor(bool isContainer, bool isDS, System::String ^ sddlForm);
public CommonSecurityDescriptor(bool isContainer, bool isDS, string sddlForm);
new System.Security.AccessControl.CommonSecurityDescriptor : bool * bool * string -> System.Security.AccessControl.CommonSecurityDescriptor
Public Sub New (isContainer As Boolean, isDS As Boolean, sddlForm As String)
パラメーター
- isContainer
- Boolean
true 新しいセキュリティ記述子がコンテナー オブジェクトに関連付けられている場合は 。
- isDS
- Boolean
true 新しいセキュリティ記述子がディレクトリ オブジェクトに関連付けられている場合は 。
- sddlForm
- String
新しい CommonSecurityDescriptor オブジェクトの作成元の SDDL 文字列。
注釈
新しい RawSecurityDescriptor オブジェクトの作成元の基になるセキュリティ記述子に、その随意アクセス制御リスト (DACL) の null が含まれている場合は、すべてのユーザーにフル アクセス (AEFA) を許可する 1 つのアクセス制御エントリ (ACE) が DACL に追加されます。 アプリケーションが AEFA ACE が追加されたセキュリティ記述子の DACL を変更した場合、その DACL が永続化されるときに、AEFA ACE は DACL と共に保持されます。
これにより、アプリケーションが意図せずにプリンシパルへのアクセスを許可する可能性があります。 このため、アプリケーションは AEFA ACE の存在を確認し、セキュリティ記述子を変更する前に削除する必要があります。
適用対象
CommonSecurityDescriptor(Boolean, Boolean, Byte[], Int32)
指定したバイト値の配列から、 CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
public:
CommonSecurityDescriptor(bool isContainer, bool isDS, cli::array <System::Byte> ^ binaryForm, int offset);
public CommonSecurityDescriptor(bool isContainer, bool isDS, byte[] binaryForm, int offset);
new System.Security.AccessControl.CommonSecurityDescriptor : bool * bool * byte[] * int -> System.Security.AccessControl.CommonSecurityDescriptor
Public Sub New (isContainer As Boolean, isDS As Boolean, binaryForm As Byte(), offset As Integer)
パラメーター
- isContainer
- Boolean
true 新しいセキュリティ記述子がコンテナー オブジェクトに関連付けられている場合は 。
- isDS
- Boolean
true 新しいセキュリティ記述子がディレクトリ オブジェクトに関連付けられている場合は 。
- binaryForm
- Byte[]
新しい CommonSecurityDescriptor オブジェクトの作成元となるバイト値の配列。
- offset
- Int32
コピーを開始する binaryForm 配列内のオフセット。
注釈
新しい RawSecurityDescriptor オブジェクトの作成元の基になるセキュリティ記述子に、その随意アクセス制御リスト (DACL) の null が含まれている場合は、すべてのユーザーにフル アクセス (AEFA) を許可する 1 つのアクセス制御エントリ (ACE) が DACL に追加されます。 アプリケーションが AEFA ACE が追加されたセキュリティ記述子の DACL を変更した場合、その DACL が永続化されるときに、AEFA ACE は DACL と共に保持されます。
これにより、アプリケーションが意図せずにプリンシパルへのアクセスを許可する可能性があります。 このため、アプリケーションは AEFA ACE の存在を確認し、セキュリティ記述子を変更する前に削除する必要があります。
適用対象
CommonSecurityDescriptor(Boolean, Boolean, ControlFlags, SecurityIdentifier, SecurityIdentifier, SystemAcl, DiscretionaryAcl)
指定した情報から、 CommonSecurityDescriptor クラスの新しいインスタンスを初期化します。
public:
CommonSecurityDescriptor(bool isContainer, bool isDS, System::Security::AccessControl::ControlFlags flags, System::Security::Principal::SecurityIdentifier ^ owner, System::Security::Principal::SecurityIdentifier ^ group, System::Security::AccessControl::SystemAcl ^ systemAcl, System::Security::AccessControl::DiscretionaryAcl ^ discretionaryAcl);
public CommonSecurityDescriptor(bool isContainer, bool isDS, System.Security.AccessControl.ControlFlags flags, System.Security.Principal.SecurityIdentifier? owner, System.Security.Principal.SecurityIdentifier? group, System.Security.AccessControl.SystemAcl? systemAcl, System.Security.AccessControl.DiscretionaryAcl? discretionaryAcl);
public CommonSecurityDescriptor(bool isContainer, bool isDS, System.Security.AccessControl.ControlFlags flags, System.Security.Principal.SecurityIdentifier owner, System.Security.Principal.SecurityIdentifier group, System.Security.AccessControl.SystemAcl systemAcl, System.Security.AccessControl.DiscretionaryAcl discretionaryAcl);
new System.Security.AccessControl.CommonSecurityDescriptor : bool * bool * System.Security.AccessControl.ControlFlags * System.Security.Principal.SecurityIdentifier * System.Security.Principal.SecurityIdentifier * System.Security.AccessControl.SystemAcl * System.Security.AccessControl.DiscretionaryAcl -> System.Security.AccessControl.CommonSecurityDescriptor
Public Sub New (isContainer As Boolean, isDS As Boolean, flags As ControlFlags, owner As SecurityIdentifier, group As SecurityIdentifier, systemAcl As SystemAcl, discretionaryAcl As DiscretionaryAcl)
パラメーター
- isContainer
- Boolean
true 新しいセキュリティ記述子がコンテナー オブジェクトに関連付けられている場合は 。
- isDS
- Boolean
true 新しいセキュリティ記述子がディレクトリ オブジェクトに関連付けられている場合は 。
- flags
- ControlFlags
新しい CommonSecurityDescriptor オブジェクトの動作を指定するフラグ。
- owner
- SecurityIdentifier
新しい CommonSecurityDescriptor オブジェクトの所有者。
- group
- SecurityIdentifier
新しい CommonSecurityDescriptor オブジェクトのプライマリ グループ。
- systemAcl
- SystemAcl
新しい CommonSecurityDescriptor オブジェクトのシステム Access Control リスト (SACL)。
- discretionaryAcl
- DiscretionaryAcl
新しい CommonSecurityDescriptor オブジェクトの随意Access Controlリスト (DACL)。
注釈
新しい RawSecurityDescriptor オブジェクトの作成元の基になるセキュリティ記述子に、その随意アクセス制御リスト (DACL) の null が含まれている場合は、すべてのユーザーにフル アクセス (AEFA) を許可する 1 つのアクセス制御エントリ (ACE) が DACL に追加されます。 アプリケーションが AEFA ACE が追加されたセキュリティ記述子の DACL を変更した場合、その DACL が永続化されるときに、AEFA ACE は DACL と共に保持されます。
これにより、アプリケーションが意図せずにプリンシパルへのアクセスを許可する可能性があります。 このため、アプリケーションは AEFA ACE の存在を確認し、セキュリティ記述子を変更する前に削除する必要があります。