CommonObjectSecurity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls access to objects without direct manipulation of access control lists (ACLs). This class is the abstract base class for the NativeObjectSecurity class.
public ref class CommonObjectSecurity abstract : System::Security::AccessControl::ObjectSecurity
public abstract class CommonObjectSecurity : System.Security.AccessControl.ObjectSecurity
type CommonObjectSecurity = class
inherit ObjectSecurity
Public MustInherit Class CommonObjectSecurity
Inherits ObjectSecurity
- Inheritance
- Derived
Constructors
CommonObjectSecurity(Boolean) |
Initializes a new instance of the CommonObjectSecurity class. |
Properties
AccessRightType |
Gets the Type of the securable object associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
AccessRulesModified |
Gets or sets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object have been modified. (Inherited from ObjectSecurity) |
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) |
AreAccessRulesCanonical |
Gets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order. (Inherited from ObjectSecurity) |
AreAccessRulesProtected |
Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this ObjectSecurity object is protected. (Inherited from ObjectSecurity) |
AreAuditRulesCanonical |
Gets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order. (Inherited from ObjectSecurity) |
AreAuditRulesProtected |
Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this ObjectSecurity object is protected. (Inherited from ObjectSecurity) |
AuditRulesModified |
Gets or sets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object have been modified. (Inherited from ObjectSecurity) |
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) |
GroupModified |
Gets or sets a Boolean value that specifies whether the group associated with the securable object has been modified. (Inherited from ObjectSecurity) |
IsContainer |
Gets a Boolean value that specifies whether this ObjectSecurity object is a container object. (Inherited from ObjectSecurity) |
IsDS |
Gets a Boolean value that specifies whether this ObjectSecurity object is a directory object. (Inherited from ObjectSecurity) |
OwnerModified |
Gets or sets a Boolean value that specifies whether the owner of the securable object has been modified. (Inherited from ObjectSecurity) |
SecurityDescriptor |
Gets the security descriptor for this instance. (Inherited from ObjectSecurity) |
Methods
AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType) |
Initializes a new instance of the AccessRule class with the specified values. (Inherited from ObjectSecurity) |
AddAccessRule(AccessRule) |
Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. |
AddAuditRule(AuditRule) |
Adds the specified audit rule to the System Access Control List (SACL) associated with this CommonObjectSecurity object. |
AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags) |
Initializes a new instance of the AuditRule class with the specified values. (Inherited from ObjectSecurity) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetAccessRules(Boolean, Boolean, Type) |
Gets a collection of the access rules associated with the specified security identifier. |
GetAuditRules(Boolean, Boolean, Type) |
Gets a collection of the audit rules associated with the specified security identifier. |
GetGroup(Type) |
Gets the primary group associated with the specified owner. (Inherited from ObjectSecurity) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetOwner(Type) |
Gets the owner associated with the specified primary group. (Inherited from ObjectSecurity) |
GetSecurityDescriptorBinaryForm() |
Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object. (Inherited from ObjectSecurity) |
GetSecurityDescriptorSddlForm(AccessControlSections) |
Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ModifyAccess(AccessControlModification, AccessRule, Boolean) |
Applies the specified modification to the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. |
ModifyAccessRule(AccessControlModification, AccessRule, Boolean) |
Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
ModifyAudit(AccessControlModification, AuditRule, Boolean) |
Applies the specified modification to the System Access Control List (SACL) associated with this CommonObjectSecurity object. |
ModifyAuditRule(AccessControlModification, AuditRule, Boolean) |
Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
Persist(Boolean, String, AccessControlSections) |
Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the |
Persist(SafeHandle, AccessControlSections) |
Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the |
Persist(String, AccessControlSections) |
Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the |
PurgeAccessRules(IdentityReference) |
Removes all access rules associated with the specified IdentityReference. (Inherited from ObjectSecurity) |
PurgeAuditRules(IdentityReference) |
Removes all audit rules associated with the specified IdentityReference. (Inherited from ObjectSecurity) |
ReadLock() |
Locks this ObjectSecurity object for read access. (Inherited from ObjectSecurity) |
ReadUnlock() |
Unlocks this ObjectSecurity object for read access. (Inherited from ObjectSecurity) |
RemoveAccessRule(AccessRule) |
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. |
RemoveAccessRuleAll(AccessRule) |
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. |
RemoveAccessRuleSpecific(AccessRule) |
Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object. |
RemoveAuditRule(AuditRule) |
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. |
RemoveAuditRuleAll(AuditRule) |
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. |
RemoveAuditRuleSpecific(AuditRule) |
Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this CommonObjectSecurity object. |
ResetAccessRule(AccessRule) |
Removes all access rules in the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object and then adds the specified access rule. |
SetAccessRule(AccessRule) |
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. |
SetAccessRuleProtection(Boolean, Boolean) |
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) |
SetAuditRule(AuditRule) |
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. |
SetAuditRuleProtection(Boolean, Boolean) |
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) |
SetGroup(IdentityReference) |
Sets the primary group for the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
SetOwner(IdentityReference) |
Sets the owner for the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
SetSecurityDescriptorBinaryForm(Byte[]) |
Sets the security descriptor for this ObjectSecurity object from the specified array of byte values. (Inherited from ObjectSecurity) |
SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections) |
Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified array of byte values. (Inherited from ObjectSecurity) |
SetSecurityDescriptorSddlForm(String) |
Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string. (Inherited from ObjectSecurity) |
SetSecurityDescriptorSddlForm(String, AccessControlSections) |
Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string. (Inherited from ObjectSecurity) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
WriteLock() |
Locks this ObjectSecurity object for write access. (Inherited from ObjectSecurity) |
WriteUnlock() |
Unlocks this ObjectSecurity object for write access. (Inherited from ObjectSecurity) |