C# Class System.Security.AccessControl.CommonSecurityDescriptor

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

Private Properties

Свойство Type Description
AddControlFlags void
CommonSecurityDescriptor Microsoft.Win32
CommonSecurityDescriptor Microsoft.Win32
CreateFromParts void
RemoveControlFlags void
UpdateControlFlags void

Méthodes publiques

Méthode Description
AddDiscretionaryAcl ( byte revision, int trusted ) : void
AddSystemAcl ( byte revision, int trusted ) : void
CommonSecurityDescriptor ( bool isContainer, bool isDS, System rawSecurityDescriptor )
CommonSecurityDescriptor ( bool isContainer, bool isDS, System flags, System owner, System group, System systemAcl, System discretionaryAcl )
CommonSecurityDescriptor ( bool isContainer, bool isDS, byte binaryForm, int offset )
CommonSecurityDescriptor ( bool isContainer, bool isDS, string sddlForm )
CommonSecurityDescriptor ( bool isContainer, bool isDS, ControlFlags flags, System.Security.Principal.SecurityIdentifier owner, System.Security.Principal.SecurityIdentifier group, SystemAcl systemAcl, DiscretionaryAcl discretionaryAcl ) : Microsoft.Win32
CommonSecurityDescriptor ( bool isContainer, bool isDS, RawSecurityDescriptor rawSecurityDescriptor ) : Microsoft.Win32
CommonSecurityDescriptor ( bool isContainer, bool isDS, byte binaryForm, int offset ) : Microsoft.Win32
CommonSecurityDescriptor ( bool isContainer, bool isDS, string sddlForm ) : Microsoft.Win32
PurgeAccessControl ( System.Security.Principal.SecurityIdentifier sid ) : void
PurgeAccessControl ( System sid ) : void
PurgeAudit ( System.Security.Principal.SecurityIdentifier sid ) : void
PurgeAudit ( System sid ) : void
SetDiscretionaryAclProtection ( bool isProtected, bool preserveInheritance ) : void
SetSystemAclProtection ( bool isProtected, bool preserveInheritance ) : void

Private Methods

Méthode Description
AddControlFlags ( ControlFlags flags ) : void
CommonSecurityDescriptor ( bool isContainer, bool isDS, ControlFlags flags, System.Security.Principal.SecurityIdentifier owner, System.Security.Principal.SecurityIdentifier group, RawAcl systemAcl, RawAcl discretionaryAcl ) : Microsoft.Win32
CommonSecurityDescriptor ( bool isContainer, bool isDS, RawSecurityDescriptor rawSecurityDescriptor, bool trusted ) : Microsoft.Win32
CreateFromParts ( bool isContainer, bool isDS, ControlFlags flags, System.Security.Principal.SecurityIdentifier owner, System.Security.Principal.SecurityIdentifier group, SystemAcl systemAcl, DiscretionaryAcl discretionaryAcl ) : void
RemoveControlFlags ( ControlFlags flags ) : void
UpdateControlFlags ( ControlFlags flagsToUpdate, ControlFlags newFlags ) : void

Method Details

AddDiscretionaryAcl() public méthode

public AddDiscretionaryAcl ( byte revision, int trusted ) : void
revision byte
trusted int
Résultat void

AddSystemAcl() public méthode

public AddSystemAcl ( byte revision, int trusted ) : void
revision byte
trusted int
Résultat void

CommonSecurityDescriptor() public méthode

public CommonSecurityDescriptor ( bool isContainer, bool isDS, System rawSecurityDescriptor )
isContainer bool
isDS bool
rawSecurityDescriptor System

CommonSecurityDescriptor() public méthode

public CommonSecurityDescriptor ( bool isContainer, bool isDS, System flags, System owner, System group, System systemAcl, System discretionaryAcl )
isContainer bool
isDS bool
flags System
owner System
group System
systemAcl System
discretionaryAcl System

CommonSecurityDescriptor() public méthode

public CommonSecurityDescriptor ( bool isContainer, bool isDS, byte binaryForm, int offset )
isContainer bool
isDS bool
binaryForm byte
offset int

CommonSecurityDescriptor() public méthode

public CommonSecurityDescriptor ( bool isContainer, bool isDS, string sddlForm )
isContainer bool
isDS bool
sddlForm string

CommonSecurityDescriptor() public méthode

public CommonSecurityDescriptor ( bool isContainer, bool isDS, ControlFlags flags, System.Security.Principal.SecurityIdentifier owner, System.Security.Principal.SecurityIdentifier group, SystemAcl systemAcl, DiscretionaryAcl discretionaryAcl ) : Microsoft.Win32
isContainer bool
isDS bool
flags ControlFlags
owner System.Security.Principal.SecurityIdentifier
group System.Security.Principal.SecurityIdentifier
systemAcl SystemAcl
discretionaryAcl DiscretionaryAcl
Résultat Microsoft.Win32

CommonSecurityDescriptor() public méthode

public CommonSecurityDescriptor ( bool isContainer, bool isDS, RawSecurityDescriptor rawSecurityDescriptor ) : Microsoft.Win32
isContainer bool
isDS bool
rawSecurityDescriptor RawSecurityDescriptor
Résultat Microsoft.Win32

CommonSecurityDescriptor() public méthode

public CommonSecurityDescriptor ( bool isContainer, bool isDS, byte binaryForm, int offset ) : Microsoft.Win32
isContainer bool
isDS bool
binaryForm byte
offset int
Résultat Microsoft.Win32

CommonSecurityDescriptor() public méthode

public CommonSecurityDescriptor ( bool isContainer, bool isDS, string sddlForm ) : Microsoft.Win32
isContainer bool
isDS bool
sddlForm string
Résultat Microsoft.Win32

PurgeAccessControl() public méthode

public PurgeAccessControl ( System.Security.Principal.SecurityIdentifier sid ) : void
sid System.Security.Principal.SecurityIdentifier
Résultat void

PurgeAccessControl() public méthode

public PurgeAccessControl ( System sid ) : void
sid System
Résultat void

PurgeAudit() public méthode

public PurgeAudit ( System.Security.Principal.SecurityIdentifier sid ) : void
sid System.Security.Principal.SecurityIdentifier
Résultat void

PurgeAudit() public méthode

public PurgeAudit ( System sid ) : void
sid System
Résultat void

SetDiscretionaryAclProtection() public méthode

public SetDiscretionaryAclProtection ( bool isProtected, bool preserveInheritance ) : void
isProtected bool
preserveInheritance bool
Résultat void

SetSystemAclProtection() public méthode

public SetSystemAclProtection ( bool isProtected, bool preserveInheritance ) : void
isProtected bool
preserveInheritance bool
Résultat void