C# Class System.Security.AccessControl.ObjectSecurity

Exibir arquivo 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
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

Protected Methods

Method 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 method

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
return System.Security.AccessControl.AccessRule

AuditRuleFactory() public abstract method

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
return System.Security.AccessControl.AuditRule

GetGroup() public method

public GetGroup ( System targetType ) : System.Security.Principal.IdentityReference
targetType System
return System.Security.Principal.IdentityReference

GetOwner() public method

public GetOwner ( System targetType ) : System.Security.Principal.IdentityReference
targetType System
return System.Security.Principal.IdentityReference

GetSecurityDescriptorBinaryForm() public method

public GetSecurityDescriptorBinaryForm ( ) : byte[]
return byte[]

GetSecurityDescriptorSddlForm() public method

public GetSecurityDescriptorSddlForm ( System includeSections ) : string
includeSections System
return string

IsSddlConversionSupported() public static method

public static IsSddlConversionSupported ( ) : bool
return bool

ModifyAccess() protected abstract method

protected abstract ModifyAccess ( System modification, System rule, bool &modified ) : bool
modification System
rule System
modified bool
return bool

ModifyAccessRule() public method

public ModifyAccessRule ( System modification, System rule, bool &modified ) : bool
modification System
rule System
modified bool
return bool

ModifyAudit() protected abstract method

protected abstract ModifyAudit ( System modification, System rule, bool &modified ) : bool
modification System
rule System
modified bool
return bool

ModifyAuditRule() public method

public ModifyAuditRule ( System modification, System rule, bool &modified ) : bool
modification System
rule System
modified bool
return bool

ObjectSecurity() protected method

protected ObjectSecurity ( )

ObjectSecurity() protected method

protected ObjectSecurity ( System securityDescriptor )
securityDescriptor System

ObjectSecurity() protected method

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

Persist() protected method

protected Persist ( System handle, System includeSections ) : void
handle System
includeSections System
return void

Persist() protected method

protected Persist ( bool enableOwnershipPrivilege, string name, System includeSections ) : void
enableOwnershipPrivilege bool
name string
includeSections System
return void

Persist() protected method

protected Persist ( string name, System includeSections ) : void
name string
includeSections System
return void

PurgeAccessRules() public method

public PurgeAccessRules ( System identity ) : void
identity System
return void

PurgeAuditRules() public method

public PurgeAuditRules ( System identity ) : void
identity System
return void

ReadLock() protected method

protected ReadLock ( ) : void
return void

ReadUnlock() protected method

protected ReadUnlock ( ) : void
return void

SetAccessRuleProtection() public method

public SetAccessRuleProtection ( bool isProtected, bool preserveInheritance ) : void
isProtected bool
preserveInheritance bool
return void

SetAuditRuleProtection() public method

public SetAuditRuleProtection ( bool isProtected, bool preserveInheritance ) : void
isProtected bool
preserveInheritance bool
return void

SetGroup() public method

public SetGroup ( System identity ) : void
identity System
return void

SetOwner() public method

public SetOwner ( System identity ) : void
identity System
return void

SetSecurityDescriptorBinaryForm() public method

public SetSecurityDescriptorBinaryForm ( byte binaryForm ) : void
binaryForm byte
return void

SetSecurityDescriptorBinaryForm() public method

public SetSecurityDescriptorBinaryForm ( byte binaryForm, System includeSections ) : void
binaryForm byte
includeSections System
return void

SetSecurityDescriptorSddlForm() public method

public SetSecurityDescriptorSddlForm ( string sddlForm ) : void
sddlForm string
return void

SetSecurityDescriptorSddlForm() public method

public SetSecurityDescriptorSddlForm ( string sddlForm, System includeSections ) : void
sddlForm string
includeSections System
return void

WriteLock() protected method

protected WriteLock ( ) : void
return void

WriteUnlock() protected method

protected WriteUnlock ( ) : void
return void