System.Security.AccessControl.FileSystemSecurity Members

The members of System.Security.AccessControl.FileSystemSecurity are listed below.

See Also: Inherited members from System.Security.AccessControl.NativeObjectSecurity

Public Properties

[read-only]
override
AccessRightTypeType.

Gets the enumeration that the System.Security.AccessControl.FileSystemSecurity class uses to represent access rights.

[read-only]
override
AccessRuleTypeType.

Gets the enumeration that the System.Security.AccessControl.FileSystemSecurity class uses to represent access rules.

[read-only]
override
AuditRuleTypeType.

Gets the type that the System.Security.AccessControl.FileSystemSecurity class uses to represent audit rules.

Public Methods

override
AccessRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AccessControlType) : AccessRule

Initializes a new instance of the System.Security.AccessControl.FileSystemAccessRule class that represents a new access control rule for the specified user, with the specified access rights, access control, and flags.

AddAccessRule(FileSystemAccessRule)

Adds the specified access control list (ACL) permission to the current file or directory.

AddAuditRule(FileSystemAuditRule)

Adds the specified audit rule to the current file or directory.

override
AuditRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AuditFlags) : AuditRule

Initializes a new instance of the System.Security.AccessControl.FileSystemAuditRule class representing the specified audit rule for the specified user.

RemoveAccessRule(FileSystemAccessRule) : bool

Removes all matching allow or deny access control list (ACL) permissions from the current file or directory.

RemoveAccessRuleAll(FileSystemAccessRule)

Removes all access control list (ACL) permissions for the specified user from the current file or directory.

RemoveAccessRuleSpecific(FileSystemAccessRule)

Removes a single matching allow or deny access control list (ACL) permission from the current file or directory.

RemoveAuditRule(FileSystemAuditRule) : bool

Removes all matching allow or deny audit rules from the current file or directory.

RemoveAuditRuleAll(FileSystemAuditRule)

Removes all audit rules for the specified user from the current file or directory.

RemoveAuditRuleSpecific(FileSystemAuditRule)

Removes a single matching allow or deny audit rule from the current file or directory.

ResetAccessRule(FileSystemAccessRule)

Adds the specified access control list (ACL) permission to the current file or directory and removes all matching ACL permissions.

SetAccessRule(FileSystemAccessRule)

Sets the specified access control list (ACL) permission for the current file or directory.

SetAuditRule(FileSystemAuditRule)

Sets the specified audit rule for the current file or directory.