Export (0) Print
Expand All

NativeObjectSecurity Members

Provides the ability to control access to native objects without direct manipulation of Access Control Lists (ACLs). Native object types are defined by the ResourceType enumeration.

The following tables list the members exposed by the NativeObjectSecurity type.

  Name Description
Protected method NativeObjectSecurity Overloaded. Initializes a new instance of the NativeObjectSecurity class.
Top

(see also Protected Properties )
  Name Description
Public property AccessRightType  Gets the Type of the securable object associated with this ObjectSecurity object.(inherited from ObjectSecurity)
Public property AccessRuleType  Gets the Type of the object associated with the access rules of this ObjectSecurity object. The Type object must be an object that can be cast as a SecurityIdentifier object.(inherited from ObjectSecurity)
Public property AreAccessRulesCanonical  Gets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order.(inherited from ObjectSecurity)
Public property AreAccessRulesProtected  Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this ObjectSecurity object is protected.(inherited from ObjectSecurity)
Public property AreAuditRulesCanonical  Gets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order.(inherited from ObjectSecurity)
Public property AreAuditRulesProtected  Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this ObjectSecurity object is protected.(inherited from ObjectSecurity)
Public property AuditRuleType  Gets the Type object associated with the audit rules of this ObjectSecurity object. The Type object must be an object that can be cast as a SecurityIdentifier object.(inherited from ObjectSecurity)
Top

  Name Description
Protected property AccessRulesModified  Gets or sets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object have been modified.(inherited from ObjectSecurity)
Protected property AuditRulesModified  Gets or sets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object have been modified.(inherited from ObjectSecurity)
Protected property GroupModified  Gets or sets a Boolean value that specifies whether the group associated with the securable object has been modified. (inherited from ObjectSecurity)
Protected property IsContainer  Gets a Boolean value that specifies whether this ObjectSecurity object is a container object.(inherited from ObjectSecurity)
Protected property IsDS  Gets a Boolean value that specifies whether this ObjectSecurity object is a directory object.(inherited from ObjectSecurity)
Protected property OwnerModified  Gets or sets a Boolean value that specifies whether the owner of the securable object has been modified.(inherited from ObjectSecurity)
Top

(see also Protected Methods )
  Name Description
Public method AccessRuleFactory  Initializes a new instance of the AccessRule class with the specified values. (inherited from ObjectSecurity)
Public method AuditRuleFactory  Initializes a new instance of the AuditRule class with the specified values. (inherited from ObjectSecurity)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetAccessRules  Gets a collection of the access rules associated with the specified security identifier. (inherited from CommonObjectSecurity)
Public method GetAuditRules  Gets a collection of the audit rules associated with the specified security identifier. (inherited from CommonObjectSecurity)
Public method GetGroup  Gets the primary group associated with the specified owner. (inherited from ObjectSecurity)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetOwner  Gets the owner associated with the specified primary group. (inherited from ObjectSecurity)
Public method GetSecurityDescriptorBinaryForm  Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object. (inherited from ObjectSecurity)
Public method GetSecurityDescriptorSddlForm  Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static IsSddlConversionSupported  Returns a Boolean value that specifies whether the security descriptor associated with this ObjectSecurity object can be converted to the Security Descriptor Definition Language (SDDL) format. (inherited from ObjectSecurity)
Public method ModifyAccessRule  Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method ModifyAuditRule  Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method PurgeAccessRules  Removes all access rules associated with the specified IdentityReference. (inherited from ObjectSecurity)
Public method PurgeAuditRules  Removes all audit rules associated with the specified IdentityReference. (inherited from ObjectSecurity)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SetAccessRuleProtection  Sets or removes protection of the access rules associated with this ObjectSecurity object. Protected access rules cannot be modified by parent objects through inheritance. (inherited from ObjectSecurity)
Public method SetAuditRuleProtection  Sets or removes protection of the audit rules associated with this ObjectSecurity object. Protected audit rules cannot be modified by parent objects through inheritance. (inherited from ObjectSecurity)
Public method SetGroup  Sets the primary group for the security descriptor associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method SetOwner  Sets the owner for the security descriptor associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method SetSecurityDescriptorBinaryForm  Overloaded. Sets the security descriptor for this ObjectSecurity object from the specified binary data. (inherited from ObjectSecurity)
Public method SetSecurityDescriptorSddlForm  Overloaded. Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string. (inherited from ObjectSecurity)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method AddAccessRule  Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method AddAuditRule  Adds the specified audit rule to the System Access Control List (SACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method ModifyAccess  Applies the specified modification to the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method ModifyAudit  Applies the specified modification to the System Access Control List (SACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method Persist Overloaded. Overridden. Saves the specified sections of the security descriptor associated with this NativeObjectSecurity object to permanent storage.
Protected method ReadLock  Locks this ObjectSecurity object for read access. (inherited from ObjectSecurity)
Protected method ReadUnlock  Unlocks this ObjectSecurity object for read access. (inherited from ObjectSecurity)
Protected method RemoveAccessRule  Removes access rules that contain the same security identifier and access mask as the specified access rule from the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method RemoveAccessRuleAll  Removes all access rules that have the same security identifier as the specified access rule from the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method RemoveAccessRuleSpecific  Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method RemoveAuditRule  Removes audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method RemoveAuditRuleAll  Removes all audit rules that have the same security identifier as the specified audit rule from the System Access Control List (SACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method RemoveAuditRuleSpecific  Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this CommonObjectSecurity object. (inherited from CommonObjectSecurity)
Protected method ResetAccessRule  Removes all access rules in the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object and then adds the specified access rule. (inherited from CommonObjectSecurity)
Protected method SetAccessRule  Removes all access rules that contain the same security identifier and qualifier as the specified access rule in the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object and then adds the specified access rule. (inherited from CommonObjectSecurity)
Protected method SetAuditRule  Removes all audit rules that contain the same security identifier and qualifier as the specified audit rule in the System Access Control List (SACL) associated with this CommonObjectSecurity object and then adds the specified audit rule. (inherited from CommonObjectSecurity)
Protected method WriteLock  Locks this ObjectSecurity object for write access. (inherited from ObjectSecurity)
Protected method WriteUnlock  Unlocks this ObjectSecurity object for write access. (inherited from ObjectSecurity)
Top

Community Additions

ADD
Show:
© 2014 Microsoft