System.Security.AccessControl.ObjectSecurity: Method Members

The methods of System.Security.AccessControl.ObjectSecurity are listed below. For a list of all members, see the ObjectSecurity Members list.

See Also: Inherited members from System.Object

Public Methods

abstract
AccessRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AccessControlType) : AccessRule

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

abstract
AuditRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AuditFlags) : AuditRule

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

GetGroup(Type) : System.Security.Principal.IdentityReference

Gets the primary group associated with the specified owner.

GetOwner(Type) : System.Security.Principal.IdentityReference

Gets the owner associated with the specified primary group.

GetSecurityDescriptorBinaryForm() : byte[]

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

GetSecurityDescriptorSddlForm(AccessControlSections) : string

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

static
IsSddlConversionSupported() : bool

Returns a Boolean value that specifies whether the security descriptor associated with this System.Security.AccessControl.ObjectSecurity object can be converted to the Security Descriptor Definition Language (SDDL) format.

ModifyAccessRule(AccessControlModification, AccessRule, out bool) : bool
Documentation for this section has not yet been entered.
ModifyAuditRule(AccessControlModification, AuditRule, out bool) : bool
Documentation for this section has not yet been entered.
PurgeAccessRules(System.Security.Principal.IdentityReference)

Removes all access rules associated with the specified System.Security.Principal.IdentityReference.

PurgeAuditRules(System.Security.Principal.IdentityReference)

Removes all audit rules associated with the specified System.Security.Principal.IdentityReference.

SetAccessRuleProtection(bool, bool)

Sets or removes protection of the access rules associated with this System.Security.AccessControl.ObjectSecurity object. Protected access rules cannot be modified by parent objects through inheritance.

SetAuditRuleProtection(bool, bool)

Sets or removes protection of the audit rules associated with this System.Security.AccessControl.ObjectSecurity object. Protected audit rules cannot be modified by parent objects through inheritance.

SetGroup(System.Security.Principal.IdentityReference)

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

SetOwner(System.Security.Principal.IdentityReference)

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

SetSecurityDescriptorBinaryForm(byte[])

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

SetSecurityDescriptorBinaryForm(byte[], AccessControlSections)

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

SetSecurityDescriptorSddlForm(string)

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

SetSecurityDescriptorSddlForm(string, AccessControlSections)

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

Protected Methods

abstract
ModifyAccess(AccessControlModification, AccessRule, out bool) : bool
Documentation for this section has not yet been entered.
abstract
ModifyAudit(AccessControlModification, AuditRule, out bool) : bool
Documentation for this section has not yet been entered.
Persist(System.Runtime.InteropServices.SafeHandle, AccessControlSections)

Saves the specified sections of the security descriptor associated with this System.Security.AccessControl.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.

Persist(string, AccessControlSections)

Saves the specified sections of the security descriptor associated with this System.Security.AccessControl.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.

Persist(bool, string, AccessControlSections)

Saves the specified sections of the security descriptor associated with this System.Security.AccessControl.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.

ReadLock()

Locks this System.Security.AccessControl.ObjectSecurity object for read access.

ReadUnlock()

Unlocks this System.Security.AccessControl.ObjectSecurity object for read access.

WriteLock()

Locks this System.Security.AccessControl.ObjectSecurity object for write access.

WriteUnlock()

Unlocks this System.Security.AccessControl.ObjectSecurity object for write access.