Export (0) Print
Expand All

FileSecurity Methods

  Name Description
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  Adds the specified access control list (ACL) permission to the current file or directory. (Inherited from FileSystemSecurity.)
Public method AddAuditRule  Adds the specified audit rule to the current file or directory. (Inherited from FileSystemSecurity.)
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  Overloaded. Determines whether two Object instances are equal. (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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.)
Public method Static IsSddlConversionSupported  Returns a Boolean value that specifies whether the security descriptor associated with this ObjectSecurity object can be converted to the Security Descriptor Definition Language (SDDL) format. (Inherited from ObjectSecurity.)
Public method ModifyAccessRule  Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object. (Inherited from ObjectSecurity.)
Public method ModifyAuditRule  Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object. (Inherited from ObjectSecurity.)
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.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method RemoveAccessRule  Removes all matching allow or deny access control list (ACL) permissions from the current file or directory. (Inherited from FileSystemSecurity.)
Public method RemoveAccessRuleAll  Removes all access control list (ACL) permissions for the specified user from the current file or directory. (Inherited from FileSystemSecurity.)
Public method RemoveAccessRuleSpecific  Removes a single matching allow or deny access control list (ACL) permission from the current file or directory. (Inherited from FileSystemSecurity.)
Public method RemoveAuditRule  Removes all matching allow or deny audit rules from the current file or directory. (Inherited from FileSystemSecurity.)
Public method RemoveAuditRuleAll  Removes all audit rules for the specified user from the current file or directory. (Inherited from FileSystemSecurity.)
Public method RemoveAuditRuleSpecific  Removes a single matching allow or deny audit rule from the current file or directory. (Inherited from FileSystemSecurity.)
Public method ResetAccessRule  Adds the specified access control list (ACL) permission to the current file or directory and removes all matching ACL permissions. (Inherited from FileSystemSecurity.)
Public method SetAccessRule  Sets the specified access control list (ACL) permission for the current file or directory. (Inherited from FileSystemSecurity.)
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  Sets the specified audit rule for the current file or directory. (Inherited from FileSystemSecurity.)
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. (Inherited from ObjectSecurity.)
Public method SetSecurityDescriptorSddlForm  Overloaded. Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string. (Inherited from ObjectSecurity.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft