C# Class System.Security.AccessControl.ObjectSecurity

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
AuditRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System flags ) : System.Security.AccessControl.AuditRule
GetGroup ( System targetType ) : System.Security.Principal.IdentityReference
GetOwner ( System targetType ) : System.Security.Principal.IdentityReference
GetSecurityDescriptorBinaryForm ( ) : byte[]
GetSecurityDescriptorSddlForm ( System includeSections ) : string
IsSddlConversionSupported ( ) : bool
ModifyAccessRule ( System modification, System rule, bool &modified ) : bool
ModifyAuditRule ( System modification, System rule, bool &modified ) : bool
PurgeAccessRules ( System identity ) : void
PurgeAuditRules ( System identity ) : void
SetAccessRuleProtection ( bool isProtected, bool preserveInheritance ) : void
SetAuditRuleProtection ( bool isProtected, bool preserveInheritance ) : void
SetGroup ( System identity ) : void
SetOwner ( System identity ) : void
SetSecurityDescriptorBinaryForm ( byte binaryForm ) : void
SetSecurityDescriptorBinaryForm ( byte binaryForm, System includeSections ) : void
SetSecurityDescriptorSddlForm ( string sddlForm ) : void
SetSecurityDescriptorSddlForm ( string sddlForm, System includeSections ) : void

Méthodes protégées

Méthode Description
ModifyAccess ( System modification, System rule, bool &modified ) : bool
ModifyAudit ( System modification, System rule, bool &modified ) : bool
ObjectSecurity ( )
ObjectSecurity ( System securityDescriptor )
ObjectSecurity ( bool isContainer, bool isDS )
Persist ( System handle, System includeSections ) : void
Persist ( bool enableOwnershipPrivilege, string name, System includeSections ) : void
Persist ( string name, System includeSections ) : void
ReadLock ( ) : void
ReadUnlock ( ) : void
WriteLock ( ) : void
WriteUnlock ( ) : void

Method Details

AccessRuleFactory() public abstract méthode

public abstract 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

AuditRuleFactory() public abstract méthode

public abstract 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

GetGroup() public méthode

public GetGroup ( System targetType ) : System.Security.Principal.IdentityReference
targetType System
Résultat System.Security.Principal.IdentityReference

GetOwner() public méthode

public GetOwner ( System targetType ) : System.Security.Principal.IdentityReference
targetType System
Résultat System.Security.Principal.IdentityReference

GetSecurityDescriptorBinaryForm() public méthode

public GetSecurityDescriptorBinaryForm ( ) : byte[]
Résultat byte[]

GetSecurityDescriptorSddlForm() public méthode

public GetSecurityDescriptorSddlForm ( System includeSections ) : string
includeSections System
Résultat string

IsSddlConversionSupported() public static méthode

public static IsSddlConversionSupported ( ) : bool
Résultat bool

ModifyAccess() protected abstract méthode

protected abstract ModifyAccess ( System modification, System rule, bool &modified ) : bool
modification System
rule System
modified bool
Résultat bool

ModifyAccessRule() public méthode

public ModifyAccessRule ( System modification, System rule, bool &modified ) : bool
modification System
rule System
modified bool
Résultat bool

ModifyAudit() protected abstract méthode

protected abstract ModifyAudit ( System modification, System rule, bool &modified ) : bool
modification System
rule System
modified bool
Résultat bool

ModifyAuditRule() public méthode

public ModifyAuditRule ( System modification, System rule, bool &modified ) : bool
modification System
rule System
modified bool
Résultat bool

ObjectSecurity() protected méthode

protected ObjectSecurity ( )

ObjectSecurity() protected méthode

protected ObjectSecurity ( System securityDescriptor )
securityDescriptor System

ObjectSecurity() protected méthode

protected ObjectSecurity ( bool isContainer, bool isDS )
isContainer bool
isDS bool

Persist() protected méthode

protected Persist ( System handle, System includeSections ) : void
handle System
includeSections System
Résultat void

Persist() protected méthode

protected Persist ( bool enableOwnershipPrivilege, string name, System includeSections ) : void
enableOwnershipPrivilege bool
name string
includeSections System
Résultat void

Persist() protected méthode

protected Persist ( string name, System includeSections ) : void
name string
includeSections System
Résultat void

PurgeAccessRules() public méthode

public PurgeAccessRules ( System identity ) : void
identity System
Résultat void

PurgeAuditRules() public méthode

public PurgeAuditRules ( System identity ) : void
identity System
Résultat void

ReadLock() protected méthode

protected ReadLock ( ) : void
Résultat void

ReadUnlock() protected méthode

protected ReadUnlock ( ) : void
Résultat void

SetAccessRuleProtection() public méthode

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

SetAuditRuleProtection() public méthode

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

SetGroup() public méthode

public SetGroup ( System identity ) : void
identity System
Résultat void

SetOwner() public méthode

public SetOwner ( System identity ) : void
identity System
Résultat void

SetSecurityDescriptorBinaryForm() public méthode

public SetSecurityDescriptorBinaryForm ( byte binaryForm ) : void
binaryForm byte
Résultat void

SetSecurityDescriptorBinaryForm() public méthode

public SetSecurityDescriptorBinaryForm ( byte binaryForm, System includeSections ) : void
binaryForm byte
includeSections System
Résultat void

SetSecurityDescriptorSddlForm() public méthode

public SetSecurityDescriptorSddlForm ( string sddlForm ) : void
sddlForm string
Résultat void

SetSecurityDescriptorSddlForm() public méthode

public SetSecurityDescriptorSddlForm ( string sddlForm, System includeSections ) : void
sddlForm string
includeSections System
Résultat void

WriteLock() protected méthode

protected WriteLock ( ) : void
Résultat void

WriteUnlock() protected méthode

protected WriteUnlock ( ) : void
Résultat void