CompoundAce 类

定义

表示复合访问控制项 (ACE)。Represents a compound Access Control Entry (ACE).

public ref class CompoundAce sealed : System::Security::AccessControl::KnownAce
public sealed class CompoundAce : System.Security.AccessControl.KnownAce
type CompoundAce = class
    inherit KnownAce
Public NotInheritable Class CompoundAce
Inherits KnownAce
继承
CompoundAce

构造函数

CompoundAce(AceFlags, Int32, CompoundAceType, SecurityIdentifier)

初始化 CompoundAce 类的新实例。Initializes a new instance of the CompoundAce class.

属性

AccessMask

获取或设置此 KnownAce 对象的访问掩码。Gets or sets the access mask for this KnownAce object.

(继承自 KnownAce)
AceFlags

获取或设置与此 AceFlags 对象关联的 GenericAce 对象。Gets or sets the AceFlags associated with this GenericAce object.

(继承自 GenericAce)
AceType

获取此访问控制项 (ACE) 的类型。Gets the type of this Access Control Entry (ACE).

(继承自 GenericAce)
AuditFlags

获取与此访问控制项 (ACE) 关联的审核信息。Gets the audit information associated with this Access Control Entry (ACE).

(继承自 GenericAce)
BinaryLength

获取当前 CompoundAce 对象的二进制表示形式的长度(以字节为单位)。Gets the length, in bytes, of the binary representation of the current CompoundAce object. 在使用 GetBinaryForm(Byte[], Int32) 方法将 ACL 封送到二进制数组之前,应使用此长度。This length should be used before marshaling the ACL into a binary array with the GetBinaryForm(Byte[], Int32) method.

CompoundAceType

获取或设置此 CompoundAce 对象的类型。Gets or sets the type of this CompoundAce object.

InheritanceFlags

获取指定此访问控制项 (ACE) 的继承属性的标志。Gets flags that specify the inheritance properties of this Access Control Entry (ACE).

(继承自 GenericAce)
IsInherited

获取一个布尔值,该值指定此访问控制项 (ACE) 是继承的还是显式设置的。Gets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly.

(继承自 GenericAce)
PropagationFlags

获取指定此访问控制项 (ACE) 的继承传播属性的标志。Gets flags that specify the inheritance propagation properties of this Access Control Entry (ACE).

(继承自 GenericAce)
SecurityIdentifier

获取或设置与此 SecurityIdentifier 对象关联的 KnownAce 对象。Gets or sets the SecurityIdentifier object associated with this KnownAce object.

(继承自 KnownAce)

方法

Copy()

创建此访问控制项 (ACE) 的深层副本。Creates a deep copy of this Access Control Entry (ACE).

(继承自 GenericAce)
Equals(Object)

确定指定的 GenericAce 对象是否等同于当前的 GenericAceDetermines whether the specified GenericAce object is equal to the current GenericAce object.

(继承自 GenericAce)
GetBinaryForm(Byte[], Int32)

CompoundAce 对象的内容从指定的偏移量开始封送到指定的字节数组中。Marshals the contents of the CompoundAce object into the specified byte array beginning at the specified offset.

GetHashCode()

用作 GenericAce 类的哈希函数。Serves as a hash function for the GenericAce class. GetHashCode() 方法适合在哈希算法和类似哈希表的数据结构中使用。The GetHashCode() method is suitable for use in hashing algorithms and data structures like a hash table.

(继承自 GenericAce)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于