C# Class System.Security.AccessControl.FileSystemSecurity

Inheritance: NativeObjectSecurity
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
AccessRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System type ) : System.Security.AccessControl.AccessRule
AddAccessRule ( System rule ) : void
AddAuditRule ( System rule ) : void
AuditRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System flags ) : System.Security.AccessControl.AuditRule
RemoveAccessRule ( System rule ) : bool
RemoveAccessRuleAll ( System rule ) : void
RemoveAccessRuleSpecific ( System rule ) : void
RemoveAuditRule ( System rule ) : bool
RemoveAuditRuleAll ( System rule ) : void
RemoveAuditRuleSpecific ( System rule ) : void
ResetAccessRule ( System rule ) : void
SetAccessRule ( System rule ) : void
SetAuditRule ( System rule ) : void

Private Methods

Method Description
FileSystemSecurity ( )
FileSystemSecurity ( bool isContainer ) : Microsoft.Win32.SafeHandles
FileSystemSecurity ( bool isContainer, SafeFileHandle handle, AccessControlSections includeSections, bool isDirectory ) : Microsoft.Win32.SafeHandles
FileSystemSecurity ( bool isContainer, String name, AccessControlSections includeSections, bool isDirectory ) : Microsoft.Win32.SafeHandles
Persist ( SafeFileHandle handle, String fullPath ) : void
Persist ( String fullPath ) : void
_HandleErrorCode ( int errorCode, string name, SafeHandle handle, object context ) : Exception

Method Details

AccessRuleFactory() public final method

public final AccessRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System type ) : System.Security.AccessControl.AccessRule
identityReference System
accessMask int
isInherited bool
inheritanceFlags System
propagationFlags System
type System
return System.Security.AccessControl.AccessRule

AddAccessRule() public method

public AddAccessRule ( System rule ) : void
rule System
return void

AddAuditRule() public method

public AddAuditRule ( System rule ) : void
rule System
return void

AuditRuleFactory() public final method

public final AuditRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System flags ) : System.Security.AccessControl.AuditRule
identityReference System
accessMask int
isInherited bool
inheritanceFlags System
propagationFlags System
flags System
return System.Security.AccessControl.AuditRule

RemoveAccessRule() public method

public RemoveAccessRule ( System rule ) : bool
rule System
return bool

RemoveAccessRuleAll() public method

public RemoveAccessRuleAll ( System rule ) : void
rule System
return void

RemoveAccessRuleSpecific() public method

public RemoveAccessRuleSpecific ( System rule ) : void
rule System
return void

RemoveAuditRule() public method

public RemoveAuditRule ( System rule ) : bool
rule System
return bool

RemoveAuditRuleAll() public method

public RemoveAuditRuleAll ( System rule ) : void
rule System
return void

RemoveAuditRuleSpecific() public method

public RemoveAuditRuleSpecific ( System rule ) : void
rule System
return void

ResetAccessRule() public method

public ResetAccessRule ( System rule ) : void
rule System
return void

SetAccessRule() public method

public SetAccessRule ( System rule ) : void
rule System
return void

SetAuditRule() public method

public SetAuditRule ( System rule ) : void
rule System
return void