Export (0) Print
Expand All

DirectorySecurity Members

Represents the access control and audit security for a directory. This class cannot be inherited.

The DirectorySecurity type exposes the following members.

  NameDescription
Public method DirectorySecurity Overloaded. Initializes a new instance of the DirectorySecurity class.
Top

  NameDescription
Public method AccessRuleFactory Initializes a new instance of the FileSystemAccessRule class that represents a new access control rule for the specified user, with the specified access rights, access control, and flags. (Inherited from FileSystemSecurity.)
Public method AddAccessRule Overloaded.
Public method AddAuditRule Overloaded.
Public method AuditRuleFactory Initializes a new instance of the FileSystemAuditRule class representing the specified audit rule for the specified user. (Inherited from FileSystemSecurity.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAccessRules Gets a collection of the access rules associated with the specified security identifier. (Inherited from CommonObjectSecurity.)
Public method GetAuditRules Gets a collection of the audit rules associated with the specified security identifier. (Inherited from CommonObjectSecurity.)
Public method GetGroup Gets the primary group associated with the specified owner. (Inherited from ObjectSecurity.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetOwner Gets the owner associated with the specified primary group. (Inherited from ObjectSecurity.)
Public method GetSecurityDescriptorBinaryForm Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object. (Inherited from ObjectSecurity.)
Public method GetSecurityDescriptorSddlForm Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ModifyAccess Applies the specified modification to the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. (Inherited from CommonObjectSecurity.)
Public method ModifyAccessRule Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object. (Inherited from ObjectSecurity.)
Protected method ModifyAudit Applies the specified modification to the System Access Control List (SACL) associated with this CommonObjectSecurity object. (Inherited from CommonObjectSecurity.)
Public method ModifyAuditRule Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object. (Inherited from ObjectSecurity.)
Protected method Persist Overloaded. Saves the specified sections of the security descriptor associated with this NativeObjectSecurity object to permanent storage.
Public method PurgeAccessRules Removes all access rules associated with the specified IdentityReference. (Inherited from ObjectSecurity.)
Public method PurgeAuditRules Removes all audit rules associated with the specified IdentityReference. (Inherited from ObjectSecurity.)
Protected method ReadLock Locks this ObjectSecurity object for read access. (Inherited from ObjectSecurity.)
Protected method ReadUnlock Unlocks this ObjectSecurity object for read access. (Inherited from ObjectSecurity.)
Public method RemoveAccessRule Overloaded.
Public method RemoveAccessRuleAll Overloaded.
Public method RemoveAccessRuleSpecific Overloaded.
Public method RemoveAuditRule Overloaded.
Public method RemoveAuditRuleAll Overloaded.
Public method RemoveAuditRuleSpecific Overloaded.
Public method ResetAccessRule Overloaded.
Public method SetAccessRule Overloaded.
Public method SetAccessRuleProtection 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.)
Public method SetAuditRule Overloaded.
Public method SetAuditRuleProtection 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.)
Public method SetGroup Sets the primary group for the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity.)
Public method SetOwner Sets the owner for the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity.)
Public method SetSecurityDescriptorBinaryForm Overloaded. Sets the security descriptor for this ObjectSecurity object from the specified binary data.
Public method SetSecurityDescriptorSddlForm Overloaded. Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method WriteLock Locks this ObjectSecurity object for write access. (Inherited from ObjectSecurity.)
Protected method WriteUnlock Unlocks this ObjectSecurity object for write access. (Inherited from ObjectSecurity.)
Top

  NameDescription
Public property AccessRightType Gets the enumeration that the FileSystemSecurity class uses to represent access rights. (Inherited from FileSystemSecurity.)
Protected property AccessRulesModified Gets or sets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object have been modified. (Inherited from ObjectSecurity.)
Public property AccessRuleType Gets the enumeration that the FileSystemSecurity class uses to represent access rules. (Inherited from FileSystemSecurity.)
Public property AreAccessRulesCanonical Gets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order. (Inherited from ObjectSecurity.)
Public property AreAccessRulesProtected Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this ObjectSecurity object is protected. (Inherited from ObjectSecurity.)
Public property AreAuditRulesCanonical Gets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order. (Inherited from ObjectSecurity.)
Public property AreAuditRulesProtected Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this ObjectSecurity object is protected. (Inherited from ObjectSecurity.)
Protected property AuditRulesModified Gets or sets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object have been modified. (Inherited from ObjectSecurity.)
Public property AuditRuleType Gets the type that the FileSystemSecurity class uses to represent audit rules. (Inherited from FileSystemSecurity.)
Protected property GroupModified Gets or sets a Boolean value that specifies whether the group associated with the securable object has been modified. (Inherited from ObjectSecurity.)
Protected property IsContainer Gets a Boolean value that specifies whether this ObjectSecurity object is a container object. (Inherited from ObjectSecurity.)
Protected property IsDS Gets a Boolean value that specifies whether this ObjectSecurity object is a directory object. (Inherited from ObjectSecurity.)
Protected property OwnerModified Gets or sets a Boolean value that specifies whether the owner of the securable object has been modified. (Inherited from ObjectSecurity.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft