ObjectSecurity Class

 

Provides the ability to control access to objects without direct manipulation of Access Control Lists (ACLs). This class is the abstract base class for the CommonObjectSecurity and DirectoryObjectSecurity classes.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)


[<AbstractClass>]
type ObjectSecurity = class end

NameDescription
System_CAPS_protmethodObjectSecurity()

Initializes a new instance of the ObjectSecurity class.

System_CAPS_protmethodObjectSecurity(Boolean, Boolean)

Initializes a new instance of the ObjectSecurity class.

System_CAPS_protmethodObjectSecurity(CommonSecurityDescriptor)

Initializes a new instance of the ObjectSecurity class.

NameDescription
System_CAPS_pubpropertyAccessRightType

Gets the Type of the securable object associated with this ObjectSecurity object.

System_CAPS_protpropertyAccessRulesModified

Gets or sets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object have been modified.

System_CAPS_pubpropertyAccessRuleType

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.

System_CAPS_pubpropertyAreAccessRulesCanonical

Gets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order.

System_CAPS_pubpropertyAreAccessRulesProtected

Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this ObjectSecurity object is protected.

System_CAPS_pubpropertyAreAuditRulesCanonical

Gets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order.

System_CAPS_pubpropertyAreAuditRulesProtected

Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this ObjectSecurity object is protected.

System_CAPS_protpropertyAuditRulesModified

Gets or sets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object have been modified.

System_CAPS_pubpropertyAuditRuleType

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.

System_CAPS_protpropertyGroupModified

Gets or sets a Boolean value that specifies whether the group associated with the securable object has been modified.

System_CAPS_protpropertyIsContainer

Gets a Boolean value that specifies whether this ObjectSecurity object is a container object.

System_CAPS_protpropertyIsDS

Gets a Boolean value that specifies whether this ObjectSecurity object is a directory object.

System_CAPS_protpropertyOwnerModified

Gets or sets a Boolean value that specifies whether the owner of the securable object has been modified.

NameDescription
System_CAPS_pubmethodAccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)

Initializes a new instance of the AccessRule class with the specified values.

System_CAPS_pubmethodAuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)

Initializes a new instance of the AuditRule class with the specified values.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetGroup(Type)

Gets the primary group associated with the specified owner.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetOwner(Type)

Gets the owner associated with the specified primary group.

System_CAPS_pubmethodGetSecurityDescriptorBinaryForm()

Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object.

System_CAPS_pubmethodGetSecurityDescriptorSddlForm(AccessControlSections)

Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIsSddlConversionSupported()

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.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodModifyAccess(AccessControlModification, AccessRule, Boolean)

Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object.

System_CAPS_pubmethodModifyAccessRule(AccessControlModification, AccessRule, Boolean)

Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object.

System_CAPS_protmethodModifyAudit(AccessControlModification, AuditRule, Boolean)

Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object.

System_CAPS_pubmethodModifyAuditRule(AccessControlModification, AuditRule, Boolean)

Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object.

System_CAPS_protmethodPersist(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 includeSections parameters passed to the constructor and persist methods be identical. For more information, see Remarks.

System_CAPS_protmethodPersist(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 includeSections parameters passed to the constructor and persist methods be identical. For more information, see Remarks.

System_CAPS_protmethodPersist(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 includeSections parameters passed to the constructor and persist methods be identical. For more information, see Remarks.

System_CAPS_pubmethodPurgeAccessRules(IdentityReference)

Removes all access rules associated with the specified IdentityReference.

System_CAPS_pubmethodPurgeAuditRules(IdentityReference)

Removes all audit rules associated with the specified IdentityReference.

System_CAPS_protmethodReadLock()

Locks this ObjectSecurity object for read access.

System_CAPS_protmethodReadUnlock()

Unlocks this ObjectSecurity object for read access.

System_CAPS_pubmethodSetAccessRuleProtection(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.

System_CAPS_pubmethodSetAuditRuleProtection(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.

System_CAPS_pubmethodSetGroup(IdentityReference)

Sets the primary group for the security descriptor associated with this ObjectSecurity object.

System_CAPS_pubmethodSetOwner(IdentityReference)

Sets the owner for the security descriptor associated with this ObjectSecurity object.

System_CAPS_pubmethodSetSecurityDescriptorBinaryForm(Byte[])

Sets the security descriptor for this ObjectSecurity object from the specified array of byte values.

System_CAPS_pubmethodSetSecurityDescriptorBinaryForm(Byte[], AccessControlSections)

Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified array of byte values.

System_CAPS_pubmethodSetSecurityDescriptorSddlForm(String)

Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.

System_CAPS_pubmethodSetSecurityDescriptorSddlForm(String, AccessControlSections)

Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodWriteLock()

Locks this ObjectSecurity object for write access.

System_CAPS_protmethodWriteUnlock()

Unlocks this ObjectSecurity object for write access.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: