ActiveDirectorySecurity ActiveDirectorySecurity ActiveDirectorySecurity ActiveDirectorySecurity Class

定義

使用 Managed ACL 程式庫的物件安全性階層以包裝目錄物件的存取控制功能。Uses the object security layer of the managed ACL library to wrap access control functionality for directory objects.

public ref class ActiveDirectorySecurity : System::Security::AccessControl::DirectoryObjectSecurity
public class ActiveDirectorySecurity : System.Security.AccessControl.DirectoryObjectSecurity
type ActiveDirectorySecurity = class
    inherit DirectoryObjectSecurity
Public Class ActiveDirectorySecurity
Inherits DirectoryObjectSecurity
繼承

建構函式

ActiveDirectorySecurity() ActiveDirectorySecurity() ActiveDirectorySecurity() ActiveDirectorySecurity()

初始化 ActiveDirectorySecurity 類別的新執行個體。Initializes a new instance of the ActiveDirectorySecurity class.

屬性

AccessRightType AccessRightType AccessRightType AccessRightType

取得 Type 物件,表示這個物件的存取權限。Gets the Type object that represents an access right for this object.

AccessRulesModified AccessRulesModified AccessRulesModified AccessRulesModified

取得或設定布林值,指定是否已修改與這個 ObjectSecurity 物件關聯的存取規則。Gets or sets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object have been modified.

(Inherited from ObjectSecurity)
AccessRuleType AccessRuleType AccessRuleType AccessRuleType

取得 Type 物件,表示這個物件的存取規則。Gets the Type that represents an access rule for this object.

AreAccessRulesCanonical AreAccessRulesCanonical AreAccessRulesCanonical AreAccessRulesCanonical

取得布林值,指定與這個 ObjectSecurity 物件相關聯的存取規則是否為標準順序。Gets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order.

(Inherited from ObjectSecurity)
AreAccessRulesProtected AreAccessRulesProtected AreAccessRulesProtected AreAccessRulesProtected

取得布林值,指定是否保護與這個 ObjectSecurity 物件相關聯的判別存取控制清單 (DACL)。Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this ObjectSecurity object is protected.

(Inherited from ObjectSecurity)
AreAuditRulesCanonical AreAuditRulesCanonical AreAuditRulesCanonical AreAuditRulesCanonical

取得布林值,指定與 ObjectSecurity 物件相關聯的稽核規則是否為標準順序。Gets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order.

(Inherited from ObjectSecurity)
AreAuditRulesProtected AreAuditRulesProtected AreAuditRulesProtected AreAuditRulesProtected

取得布林值,指定是否保護與這個 ObjectSecurity 物件相關聯的系統存取控制清單 (SACL)。Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this ObjectSecurity object is protected.

(Inherited from ObjectSecurity)
AuditRulesModified AuditRulesModified AuditRulesModified AuditRulesModified

取得或設定布林值,指定是否已修改與這個 ObjectSecurity 物件關聯的稽核規則。Gets or sets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object have been modified.

(Inherited from ObjectSecurity)
AuditRuleType AuditRuleType AuditRuleType AuditRuleType

取得 Type 物件,表示這個物件的稽核規則。Gets the Type that represents an audit rule for this object.

GroupModified GroupModified GroupModified GroupModified

取得或設定布林值,指定是否已修改與安全物件關聯的群組。Gets or sets a Boolean value that specifies whether the group associated with the securable object has been modified.

(Inherited from ObjectSecurity)
IsContainer IsContainer IsContainer IsContainer

取得可指定這個 ObjectSecurity 物件是否為容器物件的布林值。Gets a Boolean value that specifies whether this ObjectSecurity object is a container object.

(Inherited from ObjectSecurity)
IsDS IsDS IsDS IsDS

取得可指定這個 ObjectSecurity 物件是否為目錄物件的布林值。Gets a Boolean value that specifies whether this ObjectSecurity object is a directory object.

(Inherited from ObjectSecurity)
OwnerModified OwnerModified OwnerModified OwnerModified

取得或設定布林值,指定是否已修改安全物件的擁有者。Gets or sets a Boolean value that specifies whether the owner of the securable object has been modified.

(Inherited from ObjectSecurity)
SecurityDescriptor SecurityDescriptor SecurityDescriptor SecurityDescriptor

取得此執行個體的安全性描述元。Gets the security descriptor for this instance.

(Inherited from ObjectSecurity)

方法

AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType) AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType) AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType) AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)

以指定的値建立 AccessRule 物件。Creates an AccessRule object with the specified values.

AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType, Guid, Guid) AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType, Guid, Guid) AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType, Guid, Guid) AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType, Guid, Guid)

以指定的値建立 AccessRule 物件。Creates an AccessRule object with the specified values.

AddAccessRule(ActiveDirectoryAccessRule) AddAccessRule(ActiveDirectoryAccessRule) AddAccessRule(ActiveDirectoryAccessRule) AddAccessRule(ActiveDirectoryAccessRule)

將存取規則加入物件的 DACL。Adds an access rule to the DACL of an object.

AddAccessRule(ObjectAccessRule) AddAccessRule(ObjectAccessRule) AddAccessRule(ObjectAccessRule) AddAccessRule(ObjectAccessRule)

將指定的存取規則加入與這個 DirectoryObjectSecurity 物件相關聯的 Discretionary 存取控制清單 (DACL)。Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
AddAuditRule(ActiveDirectoryAuditRule) AddAuditRule(ActiveDirectoryAuditRule) AddAuditRule(ActiveDirectoryAuditRule) AddAuditRule(ActiveDirectoryAuditRule)

將稽核規則加入物件的 SACL。Adds an audit rule to the SACL of an object.

AddAuditRule(ObjectAuditRule) AddAuditRule(ObjectAuditRule) AddAuditRule(ObjectAuditRule) AddAuditRule(ObjectAuditRule)

將指定的稽核規則加入與這個 DirectoryObjectSecurity 物件相關聯的系統存取控制清單 (SACL)。Adds the specified audit rule to the System Access Control List (SACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags) AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags) AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags) AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)

以指定的値建立 AuditRule 物件。Creates an AuditRule object with the specified values.

AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid) AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid) AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid) AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid)

以指定的値建立 AuditRule 物件。Creates an AuditRule object with the specified values.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAccessRules(Boolean, Boolean, Type) GetAccessRules(Boolean, Boolean, Type) GetAccessRules(Boolean, Boolean, Type) GetAccessRules(Boolean, Boolean, Type)

取得與指定之安全識別項相關聯的存取規則集合。Gets a collection of the access rules associated with the specified security identifier.

(Inherited from DirectoryObjectSecurity)
GetAuditRules(Boolean, Boolean, Type) GetAuditRules(Boolean, Boolean, Type) GetAuditRules(Boolean, Boolean, Type) GetAuditRules(Boolean, Boolean, Type)

取得與指定之安全識別項相關聯的稽核規則集合。Gets a collection of the audit rules associated with the specified security identifier.

(Inherited from DirectoryObjectSecurity)
GetGroup(Type) GetGroup(Type) GetGroup(Type) GetGroup(Type)

取得與指定擁有者相關聯的主要群組。Gets the primary group associated with the specified owner.

(Inherited from ObjectSecurity)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetOwner(Type) GetOwner(Type) GetOwner(Type) GetOwner(Type)

取得與指定的主要群組關聯的擁有者。Gets the owner associated with the specified primary group.

(Inherited from ObjectSecurity)
GetSecurityDescriptorBinaryForm() GetSecurityDescriptorBinaryForm() GetSecurityDescriptorBinaryForm() GetSecurityDescriptorBinaryForm()

傳回表示此 ObjectSecurity 物件之安全性描述元資訊的位元組值陣列。Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object.

(Inherited from ObjectSecurity)
GetSecurityDescriptorSddlForm(AccessControlSections) GetSecurityDescriptorSddlForm(AccessControlSections) GetSecurityDescriptorSddlForm(AccessControlSections) GetSecurityDescriptorSddlForm(AccessControlSections)

傳回與這個 ObjectSecurity 物件相關聯的安全性描述元指定區段的安全性描述元定義語言 (SDDL) 表示法。Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object.

(Inherited from ObjectSecurity)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ModifyAccess(AccessControlModification, AccessRule, Boolean) ModifyAccess(AccessControlModification, AccessRule, Boolean) ModifyAccess(AccessControlModification, AccessRule, Boolean) ModifyAccess(AccessControlModification, AccessRule, Boolean)

將指定的修改套用至與這個 DirectoryObjectSecurity 物件關聯的判別存取控制清單 (DACL)。Applies the specified modification to the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
ModifyAccessRule(AccessControlModification, AccessRule, Boolean) ModifyAccessRule(AccessControlModification, AccessRule, Boolean) ModifyAccessRule(AccessControlModification, AccessRule, Boolean) ModifyAccessRule(AccessControlModification, AccessRule, Boolean)

將指定之修改套用至指定的 AccessRuleApplies the specified modification to the specified AccessRule.

ModifyAudit(AccessControlModification, AuditRule, Boolean) ModifyAudit(AccessControlModification, AuditRule, Boolean) ModifyAudit(AccessControlModification, AuditRule, Boolean) ModifyAudit(AccessControlModification, AuditRule, Boolean)

將指定的修改套用至與這個 DirectoryObjectSecurity 物件關聯的系統存取控制清單 (SACL)。Applies the specified modification to the System Access Control List (SACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
ModifyAuditRule(AccessControlModification, AuditRule, Boolean) ModifyAuditRule(AccessControlModification, AuditRule, Boolean) ModifyAuditRule(AccessControlModification, AuditRule, Boolean) ModifyAuditRule(AccessControlModification, AuditRule, Boolean)

將指定之修改套用至指定的 AuditRuleApplies the specified modification to the specified AuditRule.

Persist(Boolean, String, AccessControlSections) Persist(Boolean, String, AccessControlSections) Persist(Boolean, String, AccessControlSections) Persist(Boolean, String, AccessControlSections)

將與這個 ObjectSecurity 物件相關聯之安全性描述元的指定區段儲存到永久儲存區。Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. 建議傳遞至建構函式和保存方法之 includeSections 參數的值應完全相同。We recommend that the values of the includeSections parameters passed to the constructor and persist methods be identical.

(Inherited from ObjectSecurity)
Persist(SafeHandle, AccessControlSections) Persist(SafeHandle, AccessControlSections) Persist(SafeHandle, AccessControlSections) Persist(SafeHandle, AccessControlSections)

將與這個 ObjectSecurity 物件相關聯之安全性描述元的指定區段儲存到永久儲存區。Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. 建議傳遞至建構函式和保存方法之 includeSections 參數的值應完全相同。We recommend that the values of the includeSections parameters passed to the constructor and persist methods be identical.

(Inherited from ObjectSecurity)
Persist(String, AccessControlSections) Persist(String, AccessControlSections) Persist(String, AccessControlSections) Persist(String, AccessControlSections)

將與這個 ObjectSecurity 物件相關聯之安全性描述元的指定區段儲存到永久儲存區。Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. 建議傳遞至建構函式和保存方法之 includeSections 參數的值應完全相同。We recommend that the values of the includeSections parameters passed to the constructor and persist methods be identical.

(Inherited from ObjectSecurity)
PurgeAccessRules(IdentityReference) PurgeAccessRules(IdentityReference) PurgeAccessRules(IdentityReference) PurgeAccessRules(IdentityReference)

移除與指定之 IdentityReference 相關聯的所有存取規則。Removes all access rules associated with the specified IdentityReference.

PurgeAuditRules(IdentityReference) PurgeAuditRules(IdentityReference) PurgeAuditRules(IdentityReference) PurgeAuditRules(IdentityReference)

移除與指定之 IdentityReference 相關聯的所有稽核規則。Removes all audit rules associated with the specified IdentityReference.

ReadLock() ReadLock() ReadLock() ReadLock()

鎖定這個 ObjectSecurity 物件的讀取權限。Locks this ObjectSecurity object for read access.

(Inherited from ObjectSecurity)
ReadUnlock() ReadUnlock() ReadUnlock() ReadUnlock()

解除鎖定這個 ObjectSecurity 物件的讀取權限。Unlocks this ObjectSecurity object for read access.

(Inherited from ObjectSecurity)
RemoveAccess(IdentityReference, AccessControlType) RemoveAccess(IdentityReference, AccessControlType) RemoveAccess(IdentityReference, AccessControlType) RemoveAccess(IdentityReference, AccessControlType)

從物件的 DACL 移除具有指定之 IdentityReference 物件和 AccessControlType 物件的所有存取規則。Removes all access rules that have the specified IdentityReference object and AccessControlType object from the DACL of an object.

RemoveAccessRule(ActiveDirectoryAccessRule) RemoveAccessRule(ActiveDirectoryAccessRule) RemoveAccessRule(ActiveDirectoryAccessRule) RemoveAccessRule(ActiveDirectoryAccessRule)

從物件的 DACL 移除包含與指定之存取規則相同之安全識別項和存取遮罩的所有存取規則。Removes all access rules that contain the same security identifier and access mask as the specified access rule from the DACL of an object.

RemoveAccessRule(ObjectAccessRule) RemoveAccessRule(ObjectAccessRule) RemoveAccessRule(ObjectAccessRule) RemoveAccessRule(ObjectAccessRule)

從與這個 DirectoryObjectSecurity 物件相關聯的 Discretionary 存取控制清單 (DACL),移除包含與指定存取規則相同安全識別項和存取遮罩的存取規則。Removes access rules that contain the same security identifier and access mask as the specified access rule from the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
RemoveAccessRuleAll(ObjectAccessRule) RemoveAccessRuleAll(ObjectAccessRule) RemoveAccessRuleAll(ObjectAccessRule) RemoveAccessRuleAll(ObjectAccessRule)

從與這個 DirectoryObjectSecurity 物件相關聯的 Discretionary 存取控制清單 (DACL),移除包含與指定存取規則相同安全識別項的所有存取規則。Removes all access rules that have the same security identifier as the specified access rule from the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
RemoveAccessRuleSpecific(ActiveDirectoryAccessRule) RemoveAccessRuleSpecific(ActiveDirectoryAccessRule) RemoveAccessRuleSpecific(ActiveDirectoryAccessRule) RemoveAccessRuleSpecific(ActiveDirectoryAccessRule)

從物件的 DACL 移除完全符合指定之存取規則的所有存取規則。Removes all access rules that exactly match the specified access rule from the DACL of an object.

RemoveAccessRuleSpecific(ObjectAccessRule) RemoveAccessRuleSpecific(ObjectAccessRule) RemoveAccessRuleSpecific(ObjectAccessRule) RemoveAccessRuleSpecific(ObjectAccessRule)

從與這個 DirectoryObjectSecurity 物件相關聯的 Discretionary 存取控制清單 (DACL),移除與指定存取規則完全相符的所有存取規則。Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
RemoveAudit(IdentityReference) RemoveAudit(IdentityReference) RemoveAudit(IdentityReference) RemoveAudit(IdentityReference)

從物件的 SACL 移除具有指定之 IdentityReference 物件的所有稽核規則。Removes all audit rules that have the specified IdentityReference object from the SACL of an object.

RemoveAuditRule(ActiveDirectoryAuditRule) RemoveAuditRule(ActiveDirectoryAuditRule) RemoveAuditRule(ActiveDirectoryAuditRule) RemoveAuditRule(ActiveDirectoryAuditRule)

從物件的系統存取控制清單 (System Access Control List,SACL),移除包含與指定之稽核規則相同之安全識別項和存取遮罩的所有稽核規則。Removes all audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) of an object.

RemoveAuditRule(ObjectAuditRule) RemoveAuditRule(ObjectAuditRule) RemoveAuditRule(ObjectAuditRule) RemoveAuditRule(ObjectAuditRule)

從與這個 CommonObjectSecurity 物件相關聯的系統存取控制清單 (SACL),移除包含與指定稽核規則相同安全識別項和存取遮罩的稽核規則。Removes audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) associated with this CommonObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
RemoveAuditRuleAll(ObjectAuditRule) RemoveAuditRuleAll(ObjectAuditRule) RemoveAuditRuleAll(ObjectAuditRule) RemoveAuditRuleAll(ObjectAuditRule)

從與這個 DirectoryObjectSecurity 物件相關聯的系統存取控制清單 (SACL),移除包含與指定稽核規則相同安全識別項的所有稽核規則。Removes all audit rules that have the same security identifier as the specified audit rule from the System Access Control List (SACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
RemoveAuditRuleSpecific(ActiveDirectoryAuditRule) RemoveAuditRuleSpecific(ActiveDirectoryAuditRule) RemoveAuditRuleSpecific(ActiveDirectoryAuditRule) RemoveAuditRuleSpecific(ActiveDirectoryAuditRule)

從物件的 SACL 移除完全符合指定之稽核規則的所有稽核規則。Removes all audit rules that exactly match the specified audit rule from the SACL of an object.

RemoveAuditRuleSpecific(ObjectAuditRule) RemoveAuditRuleSpecific(ObjectAuditRule) RemoveAuditRuleSpecific(ObjectAuditRule) RemoveAuditRuleSpecific(ObjectAuditRule)

從與這個 DirectoryObjectSecurity 物件相關聯的系統存取控制清單 (SACL),移除與指定稽核規則完全相符的所有稽核規則。Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this DirectoryObjectSecurity object.

(Inherited from DirectoryObjectSecurity)
ResetAccessRule(ActiveDirectoryAccessRule) ResetAccessRule(ActiveDirectoryAccessRule) ResetAccessRule(ActiveDirectoryAccessRule) ResetAccessRule(ActiveDirectoryAccessRule)

搜尋包含安全識別項 (SID) 之所有存取規則的物件 DACL (這個安全識別項符合在 rule 物件中所指定的 SID),並以 rule 物件中所包含的存取規則取代所有那些存取規則。Searches an object's DACL for all access rules that contain a security identifier (SID) that matches the SID specified in the rule object, and replaces all of those access rules with the access rules that are contained in the rule object.

ResetAccessRule(ObjectAccessRule) ResetAccessRule(ObjectAccessRule) ResetAccessRule(ObjectAccessRule) ResetAccessRule(ObjectAccessRule)

移除與這個 DirectoryObjectSecurity 物件相關聯之 Discretionary 存取控制清單 (DACL) 中的所有存取規則,然後加入指定的存取規則。Removes all access rules in the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object and then adds the specified access rule.

(Inherited from DirectoryObjectSecurity)
SetAccessRule(ActiveDirectoryAccessRule) SetAccessRule(ActiveDirectoryAccessRule) SetAccessRule(ActiveDirectoryAccessRule) SetAccessRule(ActiveDirectoryAccessRule)

搜尋所有存取規則之物件的 DACL,這些存取規則包含符合 rule 物件中所指定之 SID 的安全識別項 (SID) 和符合 rule 物件中所指定之型別的存取控制型別 (「允許」或「拒絕」),並以 rule 物件中包含的存取規則取代所有那些存取規則。Searches an object's DACL for all access rules that contain a security identifier (SID) that matches the SID specified in the rule object, and an access control type (Allow or Deny) that matches the type specified in the rule object, and replaces all of those access rules with the access rules that are contained in the rule object.

SetAccessRule(ObjectAccessRule) SetAccessRule(ObjectAccessRule) SetAccessRule(ObjectAccessRule) SetAccessRule(ObjectAccessRule)

從與這個 DirectoryObjectSecurity 物件相關聯之 Discretionary 存取控制清單 (DACL),移除包含與指定存取規則相同安全識別項和限定詞的所有存取規則,然後加入指定的存取規則。Removes all access rules that contain the same security identifier and qualifier as the specified access rule in the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object and then adds the specified access rule.

(Inherited from DirectoryObjectSecurity)
SetAccessRuleProtection(Boolean, Boolean) SetAccessRuleProtection(Boolean, Boolean) SetAccessRuleProtection(Boolean, Boolean) SetAccessRuleProtection(Boolean, Boolean)

設定或移除與 ObjectSecurity 物件相關聯的存取規則保護。Sets or removes protection of the access rules associated with this ObjectSecurity object. 受保護的存取規則無法透過繼承來由父物件所修改。Protected access rules cannot be modified by parent objects through inheritance.

(Inherited from ObjectSecurity)
SetAuditRule(ActiveDirectoryAuditRule) SetAuditRule(ActiveDirectoryAuditRule) SetAuditRule(ActiveDirectoryAuditRule) SetAuditRule(ActiveDirectoryAuditRule)

以指定的稽核規則,取代含有與物件的 SACL 中所指定之稽核規則相同安全識別項的所有稽核規則。Replaces all audit rules that contain the same security identifier as the specified audit rule in the SACL of an object with the specified audit rule.

SetAuditRule(ObjectAuditRule) SetAuditRule(ObjectAuditRule) SetAuditRule(ObjectAuditRule) SetAuditRule(ObjectAuditRule)

從與這個 DirectoryObjectSecurity 物件相關聯之系統存取控制清單 (SACL),移除包含與指定稽核規則相同安全識別項和限定詞的所有稽核規則,然後加入指定的稽核規則。Removes all audit rules that contain the same security identifier and qualifier as the specified audit rule in the System Access Control List (SACL) associated with this DirectoryObjectSecurity object and then adds the specified audit rule.

(Inherited from DirectoryObjectSecurity)
SetAuditRuleProtection(Boolean, Boolean) SetAuditRuleProtection(Boolean, Boolean) SetAuditRuleProtection(Boolean, Boolean) SetAuditRuleProtection(Boolean, Boolean)

設定或移除與 ObjectSecurity 物件相關聯的稽核規則保護。Sets or removes protection of the audit rules associated with this ObjectSecurity object. 受保護的稽核規則無法透過繼承來由父物件所修改。Protected audit rules cannot be modified by parent objects through inheritance.

(Inherited from ObjectSecurity)
SetGroup(IdentityReference) SetGroup(IdentityReference) SetGroup(IdentityReference) SetGroup(IdentityReference)

設定與 ObjectSecurity 物件相關聯的安全性描述元主要群組。Sets the primary group for the security descriptor associated with this ObjectSecurity object.

(Inherited from ObjectSecurity)
SetOwner(IdentityReference) SetOwner(IdentityReference) SetOwner(IdentityReference) SetOwner(IdentityReference)

設定與 ObjectSecurity 物件相關聯的安全性描述元擁有者。Sets the owner for the security descriptor associated with this ObjectSecurity object.

(Inherited from ObjectSecurity)
SetSecurityDescriptorBinaryForm(Byte[]) SetSecurityDescriptorBinaryForm(Byte[]) SetSecurityDescriptorBinaryForm(Byte[]) SetSecurityDescriptorBinaryForm(Byte[])

從指定的位元組值陣列,設定這個 ObjectSecurity 物件的安全性描述元。Sets the security descriptor for this ObjectSecurity object from the specified array of byte values.

(Inherited from ObjectSecurity)
SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections) SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections) SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections) SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections)

從指定的位元組值陣列,設定這個 ObjectSecurity 物件之安全性描述元的指定區段。Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified array of byte values.

(Inherited from ObjectSecurity)
SetSecurityDescriptorSddlForm(String) SetSecurityDescriptorSddlForm(String) SetSecurityDescriptorSddlForm(String) SetSecurityDescriptorSddlForm(String)

從指定的安全性描述元定義語言 (SDDL) 字串,設定這個 ObjectSecurity 物件的安全性描述元。Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.

(Inherited from ObjectSecurity)
SetSecurityDescriptorSddlForm(String, AccessControlSections) SetSecurityDescriptorSddlForm(String, AccessControlSections) SetSecurityDescriptorSddlForm(String, AccessControlSections) SetSecurityDescriptorSddlForm(String, AccessControlSections)

從指定的安全性描述元定義語言 (SDDL) 字串,設定這個 ObjectSecurity 物件的安全性描述元之指定區段。Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.

(Inherited from ObjectSecurity)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)
WriteLock() WriteLock() WriteLock() WriteLock()

鎖定這個 ObjectSecurity 物件的寫入權限。Locks this ObjectSecurity object for write access.

(Inherited from ObjectSecurity)
WriteUnlock() WriteUnlock() WriteUnlock() WriteUnlock()

解除鎖定這個 ObjectSecurity 物件的寫入權限。Unlocks this ObjectSecurity object for write access.

(Inherited from ObjectSecurity)

適用於

另請參閱