C# Class System.Security.AccessControl.FileSystemSecurity

Inheritance: NativeObjectSecurity
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat System.Security.AccessControl.AccessRule

AddAccessRule() public méthode

public AddAccessRule ( System rule ) : void
rule System
Résultat void

AddAuditRule() public méthode

public AddAuditRule ( System rule ) : void
rule System
Résultat void

AuditRuleFactory() public final méthode

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
Résultat System.Security.AccessControl.AuditRule

RemoveAccessRule() public méthode

public RemoveAccessRule ( System rule ) : bool
rule System
Résultat bool

RemoveAccessRuleAll() public méthode

public RemoveAccessRuleAll ( System rule ) : void
rule System
Résultat void

RemoveAccessRuleSpecific() public méthode

public RemoveAccessRuleSpecific ( System rule ) : void
rule System
Résultat void

RemoveAuditRule() public méthode

public RemoveAuditRule ( System rule ) : bool
rule System
Résultat bool

RemoveAuditRuleAll() public méthode

public RemoveAuditRuleAll ( System rule ) : void
rule System
Résultat void

RemoveAuditRuleSpecific() public méthode

public RemoveAuditRuleSpecific ( System rule ) : void
rule System
Résultat void

ResetAccessRule() public méthode

public ResetAccessRule ( System rule ) : void
rule System
Résultat void

SetAccessRule() public méthode

public SetAccessRule ( System rule ) : void
rule System
Résultat void

SetAuditRule() public méthode

public SetAuditRule ( System rule ) : void
rule System
Résultat void