ActiveDirectorySecurity Methods

ActiveDirectorySecurity Methods

 

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

NameDescription
System_CAPS_pubmethodAccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)
System_CAPS_pubmethodAccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType, Guid, Guid)
System_CAPS_pubmethodAddAccessRule(ActiveDirectoryAccessRule)

Adds an access rule to the DACL of an object.

System_CAPS_protmethodAddAccessRule(ObjectAccessRule)

Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.(Inherited from DirectoryObjectSecurity.)

System_CAPS_pubmethodAddAuditRule(ActiveDirectoryAuditRule)

Adds an audit rule to the SACL of an object.

System_CAPS_protmethodAddAuditRule(ObjectAuditRule)

Adds the specified audit rule to the System Access Control List (SACL) associated with this DirectoryObjectSecurity object.(Inherited from DirectoryObjectSecurity.)

System_CAPS_pubmethodAuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)
System_CAPS_pubmethodAuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid)
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetAccessRules(Boolean, Boolean, Type)

Gets a collection of the access rules associated with the specified security identifier.(Inherited from DirectoryObjectSecurity.)

System_CAPS_pubmethodGetAuditRules(Boolean, Boolean, Type)

Gets a collection of the audit rules associated with the specified security identifier.(Inherited from DirectoryObjectSecurity.)

System_CAPS_pubmethodGetGroup(Type)

Gets the primary group associated with the specified owner.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetOwner(Type)

Gets the owner associated with the specified primary group.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodGetSecurityDescriptorBinaryForm()

Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodGetSecurityDescriptorSddlForm(AccessControlSections)

Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodModifyAccess(AccessControlModification, AccessRule, Boolean)

Applies the specified modification to the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.(Inherited from DirectoryObjectSecurity.)

System_CAPS_pubmethodModifyAccessRule(AccessControlModification, AccessRule, Boolean)

Applies the specified modification to the specified AccessRule.(Overrides ObjectSecurity.ModifyAccessRule(AccessControlModification, AccessRule, Boolean).)

System_CAPS_protmethodModifyAudit(AccessControlModification, AuditRule, Boolean)

Applies the specified modification to the System Access Control List (SACL) associated with this DirectoryObjectSecurity object.(Inherited from DirectoryObjectSecurity.)

System_CAPS_pubmethodModifyAuditRule(AccessControlModification, AuditRule, Boolean)

Applies the specified modification to the specified AuditRule.(Overrides ObjectSecurity.ModifyAuditRule(AccessControlModification, AuditRule, Boolean).)

System_CAPS_protmethodPersist(Boolean, String, AccessControlSections)

Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the includeSections parameters passed to the constructor and persist methods be identical. For more information, see Remarks.(Inherited from ObjectSecurity.)

System_CAPS_protmethodPersist(SafeHandle, AccessControlSections)

Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the includeSections parameters passed to the constructor and persist methods be identical. For more information, see Remarks.(Inherited from ObjectSecurity.)

System_CAPS_protmethodPersist(String, AccessControlSections)

Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the includeSections parameters passed to the constructor and persist methods be identical. For more information, see Remarks.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodPurgeAccessRules(IdentityReference)

Removes all access rules associated with the specified IdentityReference.(Overrides ObjectSecurity.PurgeAccessRules(IdentityReference).)

System_CAPS_pubmethodPurgeAuditRules(IdentityReference)

Removes all audit rules associated with the specified IdentityReference.(Overrides ObjectSecurity.PurgeAuditRules(IdentityReference).)

System_CAPS_protmethodReadLock()

Locks this ObjectSecurity object for read access.(Inherited from ObjectSecurity.)

System_CAPS_protmethodReadUnlock()

Unlocks this ObjectSecurity object for read access.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodRemoveAccess(IdentityReference, AccessControlType)

Removes all access rules that have the specified IdentityReference object and AccessControlType object from the DACL of an object.

System_CAPS_pubmethodRemoveAccessRule(ActiveDirectoryAccessRule)

Removes all access rules that contain the same security identifier and access mask as the specified access rule from the DACL of an object.

System_CAPS_protmethodRemoveAccessRule(ObjectAccessRule)

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.)

System_CAPS_protmethodRemoveAccessRuleAll(ObjectAccessRule)

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.)

System_CAPS_pubmethodRemoveAccessRuleSpecific(ActiveDirectoryAccessRule)

Removes all access rules that exactly match the specified access rule from the DACL of an object.

System_CAPS_protmethodRemoveAccessRuleSpecific(ObjectAccessRule)

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.)

System_CAPS_pubmethodRemoveAudit(IdentityReference)

Removes all audit rules that have the specified IdentityReference object from the SACL of an object.

System_CAPS_pubmethodRemoveAuditRule(ActiveDirectoryAuditRule)

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.

System_CAPS_protmethodRemoveAuditRule(ObjectAuditRule)

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.)

System_CAPS_protmethodRemoveAuditRuleAll(ObjectAuditRule)

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.)

System_CAPS_pubmethodRemoveAuditRuleSpecific(ActiveDirectoryAuditRule)

Removes all audit rules that exactly match the specified audit rule from the SACL of an object.

System_CAPS_protmethodRemoveAuditRuleSpecific(ObjectAuditRule)

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.)

System_CAPS_pubmethodResetAccessRule(ActiveDirectoryAccessRule)

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.

System_CAPS_protmethodResetAccessRule(ObjectAccessRule)

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.)

System_CAPS_pubmethodSetAccessRule(ActiveDirectoryAccessRule)

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.

System_CAPS_protmethodSetAccessRule(ObjectAccessRule)

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.)

System_CAPS_pubmethodSetAccessRuleProtection(Boolean, Boolean)

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.)

System_CAPS_pubmethodSetAuditRule(ActiveDirectoryAuditRule)

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.

System_CAPS_protmethodSetAuditRule(ObjectAuditRule)

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.)

System_CAPS_pubmethodSetAuditRuleProtection(Boolean, Boolean)

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.)

System_CAPS_pubmethodSetGroup(IdentityReference)

Sets the primary group for the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetOwner(IdentityReference)

Sets the owner for the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetSecurityDescriptorBinaryForm(Byte[])

Sets the security descriptor for this ObjectSecurity object from the specified array of byte values.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetSecurityDescriptorBinaryForm(Byte[], AccessControlSections)

Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified array of byte values.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetSecurityDescriptorSddlForm(String)

Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetSecurityDescriptorSddlForm(String, AccessControlSections)

Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodWriteLock()

Locks this ObjectSecurity object for write access.(Inherited from ObjectSecurity.)

System_CAPS_protmethodWriteUnlock()

Unlocks this ObjectSecurity object for write access.(Inherited from ObjectSecurity.)

Return to top
Show:
© 2016 Microsoft