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

PropertyAccessRule クラス

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

PropertyAccessRule クラスは、Active Directory プロパティへのアクセスを許可または拒否するために使用する、特定の種類のアクセス規則を表します。

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

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

PropertyAccessRule コンストラクタ (IdentityReference, AccessControlType, PropertyAccess)

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

ID 参照、アクセス制御の種類、およびプロパティ アクセスを指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

Public Sub New ( _
    identity As IdentityReference, _
    type As AccessControlType, _
    access As PropertyAccess _
)
Dim identity As IdentityReference
Dim type As AccessControlType
Dim access As PropertyAccess

Dim instance As New PropertyAccessRule(identity,
 type, access)
public PropertyAccessRule (
    IdentityReference identity,
    AccessControlType type,
    PropertyAccess access
)
public:
PropertyAccessRule (
    IdentityReference^ identity, 
    AccessControlType type, 
    PropertyAccess access
)
public PropertyAccessRule (
    IdentityReference identity, 
    AccessControlType type, 
    PropertyAccess access
)
public function PropertyAccessRule (
    identity : IdentityReference, 
    type : AccessControlType, 
    access : PropertyAccess
)

パラメータ

identity

アクセス規則のトラスティを識別する IdentityReference オブジェクト。

type

アクセス規則の種類を指定する AccessControlType 列挙値の 1 つ。

access

プロパティのアクセスの種類を指定する PropertyAccess 列挙値の 1 つ。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

PropertyAccessRule コンストラクタ (IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance, Guid)

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

ID 参照、アクセス制御の種類、プロパティ アクセス、Active Directory セキュリティの継承、および継承されるオブジェクトの種類を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

Public Sub New ( _
    identity As IdentityReference, _
    type As AccessControlType, _
    access As PropertyAccess, _
    inheritanceType As ActiveDirectorySecurityInheritance, _
    inheritedObjectType As Guid _
)
Dim identity As IdentityReference
Dim type As AccessControlType
Dim access As PropertyAccess
Dim inheritanceType As ActiveDirectorySecurityInheritance
Dim inheritedObjectType As Guid

Dim instance As New PropertyAccessRule(identity,
 type, access, inheritanceType, inheritedObjectType)
public PropertyAccessRule (
    IdentityReference identity,
    AccessControlType type,
    PropertyAccess access,
    ActiveDirectorySecurityInheritance inheritanceType,
    Guid inheritedObjectType
)
public:
PropertyAccessRule (
    IdentityReference^ identity, 
    AccessControlType type, 
    PropertyAccess access, 
    ActiveDirectorySecurityInheritance inheritanceType, 
    Guid inheritedObjectType
)
public PropertyAccessRule (
    IdentityReference identity, 
    AccessControlType type, 
    PropertyAccess access, 
    ActiveDirectorySecurityInheritance inheritanceType, 
    Guid inheritedObjectType
)
public function PropertyAccessRule (
    identity : IdentityReference, 
    type : AccessControlType, 
    access : PropertyAccess, 
    inheritanceType : ActiveDirectorySecurityInheritance, 
    inheritedObjectType : Guid
)

パラメータ

identity

アクセス規則のトラスティを識別する IdentityReference オブジェクト。

type

アクセス規則の種類を指定する AccessControlType 列挙値の 1 つ。

access

プロパティのアクセスの種類を指定する PropertyAccess 列挙値の 1 つ。

inheritanceType

アクセス規則の継承の種類を指定する、ActiveDirectorySecurityInheritance 列挙値の 1 つ。

inheritedObjectType

このアクセス規則を継承できる子オブジェクトの種類のスキーマ GUID。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

PropertyAccessRule コンストラクタ (IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance)

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

ID 参照、アクセス制御の種類、プロパティ アクセス、および Active Directory セキュリティの継承を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

Public Sub New ( _
    identity As IdentityReference, _
    type As AccessControlType, _
    access As PropertyAccess, _
    inheritanceType As ActiveDirectorySecurityInheritance _
)
Dim identity As IdentityReference
Dim type As AccessControlType
Dim access As PropertyAccess
Dim inheritanceType As ActiveDirectorySecurityInheritance

Dim instance As New PropertyAccessRule(identity,
 type, access, inheritanceType)
public PropertyAccessRule (
    IdentityReference identity,
    AccessControlType type,
    PropertyAccess access,
    ActiveDirectorySecurityInheritance inheritanceType
)
public:
PropertyAccessRule (
    IdentityReference^ identity, 
    AccessControlType type, 
    PropertyAccess access, 
    ActiveDirectorySecurityInheritance inheritanceType
)
public PropertyAccessRule (
    IdentityReference identity, 
    AccessControlType type, 
    PropertyAccess access, 
    ActiveDirectorySecurityInheritance inheritanceType
)
public function PropertyAccessRule (
    identity : IdentityReference, 
    type : AccessControlType, 
    access : PropertyAccess, 
    inheritanceType : ActiveDirectorySecurityInheritance
)

パラメータ

identity

アクセス規則のトラスティを識別する IdentityReference オブジェクト。

type

アクセス規則の種類を指定する AccessControlType 列挙値の 1 つ。

access

プロパティのアクセスの種類を指定する PropertyAccess 列挙値の 1 つ。

inheritanceType

アクセス規則の継承の種類を指定する、ActiveDirectorySecurityInheritance 列挙値の 1 つ。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

PropertyAccessRule コンストラクタ

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

名前 説明
PropertyAccessRule (IdentityReference, AccessControlType, PropertyAccess) ID 参照、アクセス制御の種類、およびプロパティ アクセスを指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。
PropertyAccessRule (IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance) ID 参照、アクセス制御の種類、プロパティ アクセス、および Active Directory セキュリティの継承を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。
PropertyAccessRule (IdentityReference, AccessControlType, PropertyAccess, Guid) ID 参照、アクセス制御の種類、プロパティ アクセス、およびプロパティの種類を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。
PropertyAccessRule (IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance, Guid) ID 参照、アクセス制御の種類、プロパティ アクセス、Active Directory セキュリティの継承、および継承されるオブジェクトの種類を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。
PropertyAccessRule (IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance) ID 参照、アクセス制御の種類、プロパティ アクセス、プロパティの種類、および Active Directory セキュリティの継承を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。
PropertyAccessRule (IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance, Guid) ID 参照、アクセス制御の種類、プロパティ アクセス、プロパティの種類、Active Directory セキュリティの継承、および継承されるオブジェクトの種類を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。
参照参照

関連項目

PropertyAccessRule クラス
PropertyAccessRule メンバ
System.DirectoryServices 名前空間

PropertyAccessRule コンストラクタ (IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance, Guid)

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

ID 参照、アクセス制御の種類、プロパティ アクセス、プロパティの種類、Active Directory セキュリティの継承、および継承されるオブジェクトの種類を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

Public Sub New ( _
    identity As IdentityReference, _
    type As AccessControlType, _
    access As PropertyAccess, _
    propertyType As Guid, _
    inheritanceType As ActiveDirectorySecurityInheritance, _
    inheritedObjectType As Guid _
)
Dim identity As IdentityReference
Dim type As AccessControlType
Dim access As PropertyAccess
Dim propertyType As Guid
Dim inheritanceType As ActiveDirectorySecurityInheritance
Dim inheritedObjectType As Guid

Dim instance As New PropertyAccessRule(identity,
 type, access, propertyType, inheritanceType, inheritedObjectType)
public PropertyAccessRule (
    IdentityReference identity,
    AccessControlType type,
    PropertyAccess access,
    Guid propertyType,
    ActiveDirectorySecurityInheritance inheritanceType,
    Guid inheritedObjectType
)
public:
PropertyAccessRule (
    IdentityReference^ identity, 
    AccessControlType type, 
    PropertyAccess access, 
    Guid propertyType, 
    ActiveDirectorySecurityInheritance inheritanceType, 
    Guid inheritedObjectType
)
public PropertyAccessRule (
    IdentityReference identity, 
    AccessControlType type, 
    PropertyAccess access, 
    Guid propertyType, 
    ActiveDirectorySecurityInheritance inheritanceType, 
    Guid inheritedObjectType
)
public function PropertyAccessRule (
    identity : IdentityReference, 
    type : AccessControlType, 
    access : PropertyAccess, 
    propertyType : Guid, 
    inheritanceType : ActiveDirectorySecurityInheritance, 
    inheritedObjectType : Guid
)

パラメータ

identity

アクセス規則のトラスティを識別する IdentityReference オブジェクト。

type

アクセス規則の種類を指定する AccessControlType 列挙値の 1 つ。

access

プロパティのアクセスの種類を指定する PropertyAccess 列挙値の 1 つ。

propertyType

このアクセス規則の適用先となるプロパティのスキーマ GUID。これが Empty である場合、アクセス規則はすべてのプロパティの種類に適用されます。

inheritanceType

アクセス規則の継承の種類を指定する、ActiveDirectorySecurityInheritance 列挙値の 1 つ。

inheritedObjectType

このアクセス規則を継承できる子オブジェクトの種類のスキーマ GUID。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

PropertyAccessRule コンストラクタ (IdentityReference, AccessControlType, PropertyAccess, Guid)

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

ID 参照、アクセス制御の種類、プロパティ アクセス、およびプロパティの種類を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

Public Sub New ( _
    identity As IdentityReference, _
    type As AccessControlType, _
    access As PropertyAccess, _
    propertyType As Guid _
)
Dim identity As IdentityReference
Dim type As AccessControlType
Dim access As PropertyAccess
Dim propertyType As Guid

Dim instance As New PropertyAccessRule(identity,
 type, access, propertyType)
public PropertyAccessRule (
    IdentityReference identity,
    AccessControlType type,
    PropertyAccess access,
    Guid propertyType
)
public:
PropertyAccessRule (
    IdentityReference^ identity, 
    AccessControlType type, 
    PropertyAccess access, 
    Guid propertyType
)
public PropertyAccessRule (
    IdentityReference identity, 
    AccessControlType type, 
    PropertyAccess access, 
    Guid propertyType
)
public function PropertyAccessRule (
    identity : IdentityReference, 
    type : AccessControlType, 
    access : PropertyAccess, 
    propertyType : Guid
)

パラメータ

identity

アクセス規則のトラスティを識別する IdentityReference オブジェクト。

type

アクセス規則の種類を指定する AccessControlType 列挙値の 1 つ。

access

プロパティのアクセスの種類を指定する PropertyAccess 列挙値の 1 つ。

propertyType

このアクセス規則の適用先となるプロパティのスキーマ GUID。これが Empty である場合、アクセス規則はすべてのプロパティの種類に適用されます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

PropertyAccessRule コンストラクタ (IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance)

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

ID 参照、アクセス制御の種類、プロパティ アクセス、プロパティの種類、および Active Directory セキュリティの継承を指定して、PropertyAccessRule クラスの新しいインスタンスを初期化します。

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

Public Sub New ( _
    identity As IdentityReference, _
    type As AccessControlType, _
    access As PropertyAccess, _
    propertyType As Guid, _
    inheritanceType As ActiveDirectorySecurityInheritance _
)
Dim identity As IdentityReference
Dim type As AccessControlType
Dim access As PropertyAccess
Dim propertyType As Guid
Dim inheritanceType As ActiveDirectorySecurityInheritance

Dim instance As New PropertyAccessRule(identity,
 type, access, propertyType, inheritanceType)
public PropertyAccessRule (
    IdentityReference identity,
    AccessControlType type,
    PropertyAccess access,
    Guid propertyType,
    ActiveDirectorySecurityInheritance inheritanceType
)
public:
PropertyAccessRule (
    IdentityReference^ identity, 
    AccessControlType type, 
    PropertyAccess access, 
    Guid propertyType, 
    ActiveDirectorySecurityInheritance inheritanceType
)
public PropertyAccessRule (
    IdentityReference identity, 
    AccessControlType type, 
    PropertyAccess access, 
    Guid propertyType, 
    ActiveDirectorySecurityInheritance inheritanceType
)
public function PropertyAccessRule (
    identity : IdentityReference, 
    type : AccessControlType, 
    access : PropertyAccess, 
    propertyType : Guid, 
    inheritanceType : ActiveDirectorySecurityInheritance
)

パラメータ

identity

アクセス規則のトラスティを識別する IdentityReference オブジェクト。

type

アクセス規則の種類を指定する AccessControlType 列挙値の 1 つ。

access

プロパティのアクセスの種類を指定する PropertyAccess 列挙値の 1 つ。

propertyType

このアクセス規則の適用先となるプロパティのスキーマ GUID。これが Empty である場合、アクセス規則はすべてのプロパティの種類に適用されます。

inheritanceType

アクセス規則の継承の種類を指定する、ActiveDirectorySecurityInheritance 列挙値の 1 つ。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

PropertyAccessRule プロパティ


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

( プロテクト プロパティ も参照)
  名前 説明
パブリック プロパティ AccessControlType  この AccessRule オブジェクトに関連付けられている AccessControlType 値を取得します。 ( AccessRule から継承されます。)
パブリック プロパティ ActiveDirectoryRights  このアクセス規則の Active Directory 権限を取得します。 ( ActiveDirectoryAccessRule から継承されます。)
パブリック プロパティ IdentityReference  この規則を適用する IdentityReference を取得します。 ( AuthorizationRule から継承されます。)
パブリック プロパティ InheritanceFlags  この規則を子オブジェクトが継承する方法を決定するフラグの値を取得します。 ( AuthorizationRule から継承されます。)
パブリック プロパティ InheritanceType  このアクセス規則の継承の種類を取得します。 ( ActiveDirectoryAccessRule から継承されます。)
パブリック プロパティ InheritedObjectType  System.Security.AccessControl.ObjectAccessRule オブジェクトを継承できる子オブジェクトの型を取得します。 ( ObjectAccessRule から継承されます。)
パブリック プロパティ IsInherited  この規則を明示的に設定するか、または親コンテナ オブジェクトから継承するかを指定する値を取得します。 ( AuthorizationRule から継承されます。)
パブリック プロパティ ObjectFlags  System.Security.AccessControl.ObjectAccessRule オブジェクトの ObjectType プロパティおよび InheritedObjectType プロパティが有効な値を格納していることを指定するフラグを取得します。 ( ObjectAccessRule から継承されます。)
パブリック プロパティ ObjectType  System.Security.AccessControl.ObjectAccessRule を適用するオブジェクトの型を取得します。 ( ObjectAccessRule から継承されます。)
パブリック プロパティ PropagationFlags  反映フラグの値を取得します。このフラグから、この規則を子オブジェクトに反映させる方法を判断します。このプロパティが重要なのは、InheritanceFlags 列挙体の値が None でない場合だけです。 ( AuthorizationRule から継承されます。)
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ AccessMask  この規則のアクセス マスクを取得します。 ( AuthorizationRule から継承されます。)
参照参照

関連項目

PropertyAccessRule クラス
System.DirectoryServices 名前空間

PropertyAccessRule メソッド


PropertyAccessRule メンバ

PropertyAccessRule クラスは、Active Directory プロパティへのアクセスを許可または拒否するために使用する、特定の種類のアクセス規則を表します。

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


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド PropertyAccessRule オーバーロードされます。 PropertyAccessRule クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
( プロテクト プロパティ も参照)
  名前 説明
パブリック プロパティ AccessControlType  この AccessRule オブジェクトに関連付けられている AccessControlType 値を取得します。(AccessRule から継承されます。)
パブリック プロパティ ActiveDirectoryRights  このアクセス規則の Active Directory 権限を取得します。(ActiveDirectoryAccessRule から継承されます。)
パブリック プロパティ IdentityReference  この規則を適用する IdentityReference を取得します。(AuthorizationRule から継承されます。)
パブリック プロパティ InheritanceFlags  この規則を子オブジェクトが継承する方法を決定するフラグの値を取得します。(AuthorizationRule から継承されます。)
パブリック プロパティ InheritanceType  このアクセス規則の継承の種類を取得します。(ActiveDirectoryAccessRule から継承されます。)
パブリック プロパティ InheritedObjectType  System.Security.AccessControl.ObjectAccessRule オブジェクトを継承できる子オブジェクトの型を取得します。(ObjectAccessRule から継承されます。)
パブリック プロパティ IsInherited  この規則を明示的に設定するか、または親コンテナ オブジェクトから継承するかを指定する値を取得します。(AuthorizationRule から継承されます。)
パブリック プロパティ ObjectFlags  System.Security.AccessControl.ObjectAccessRule オブジェクトの ObjectType プロパティおよび InheritedObjectType プロパティが有効な値を格納していることを指定するフラグを取得します。(ObjectAccessRule から継承されます。)
パブリック プロパティ ObjectType  System.Security.AccessControl.ObjectAccessRule を適用するオブジェクトの型を取得します。(ObjectAccessRule から継承されます。)
パブリック プロパティ PropagationFlags  反映フラグの値を取得します。このフラグから、この規則を子オブジェクトに反映させる方法を判断します。このプロパティが重要なのは、InheritanceFlags 列挙体の値が None でない場合だけです。(AuthorizationRule から継承されます。)
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ AccessMask  この規則のアクセス マスクを取得します。(AuthorizationRule から継承されます。)
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

PropertyAccessRule クラス
System.DirectoryServices 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「PropertyAccessRule」の関連用語

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

   

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



PropertyAccessRuleのページの著作権

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

©2026 GRAS Group, Inc.RSS