ActiveDirectorySecurity Class
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.
Uses the object security layer of the managed ACL library to wrap access control functionality for directory objects.
public ref class ActiveDirectorySecurity : System::Security::AccessControl::DirectoryObjectSecurity
public class ActiveDirectorySecurity : System.Security.AccessControl.DirectoryObjectSecurity
type ActiveDirectorySecurity = class
inherit DirectoryObjectSecurity
Public Class ActiveDirectorySecurity
Inherits DirectoryObjectSecurity
- Inheritance
Active |
Initializes a new instance of the ActiveDirectorySecurity class. |
Access |
Gets the Type object that represents an access right for this object. |
Access |
Gets or sets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object have been modified. (Inherited from ObjectSecurity) |
Access |
Gets the Type that represents an access rule for this object. |
Are |
Gets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order. (Inherited from ObjectSecurity) |
Are |
Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this ObjectSecurity object is protected. (Inherited from ObjectSecurity) |
Are |
Gets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order. (Inherited from ObjectSecurity) |
Are |
Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this ObjectSecurity object is protected. (Inherited from ObjectSecurity) |
Audit |
Gets or sets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object have been modified. (Inherited from ObjectSecurity) |
Audit |
Gets the Type that represents an audit rule for this object. |
Group |
Gets or sets a Boolean value that specifies whether the group associated with the securable object has been modified. (Inherited from ObjectSecurity) |
Is |
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) |
Owner |
Gets or sets a Boolean value that specifies whether the owner of the securable object has been modified. (Inherited from ObjectSecurity) |
Security |
Gets the security descriptor for this instance. (Inherited from ObjectSecurity) |
Access |
Creates an AccessRule object with the specified values. |
Access |
Creates an AccessRule object with the specified values. |
Add |
Adds an access rule to the DACL of an object. |
Add |
Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Add |
Adds an audit rule to the SACL of an object. |
Add |
Adds the specified audit rule to the System Access Control List (SACL) associated with this DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Audit |
Creates an AuditRule object with the specified values. |
Audit |
Creates an AuditRule object with the specified values. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Gets a collection of the access rules associated with the specified security identifier. (Inherited from DirectoryObjectSecurity) |
Get |
Gets a collection of the audit rules associated with the specified security identifier. (Inherited from DirectoryObjectSecurity) |
Get |
Gets the primary group associated with the specified owner. (Inherited from ObjectSecurity) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the owner associated with the specified primary group. (Inherited from ObjectSecurity) |
Get |
Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object. (Inherited from ObjectSecurity) |
Get |
Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Modify |
Applies the specified modification to the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Modify |
Applies the specified modification to the specified AccessRule. |
Modify |
Applies the specified modification to the System Access Control List (SACL) associated with this DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Modify |
Applies the specified modification to the specified AuditRule. |
Persist(Boolean, String, Access |
Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the |
Persist(Safe |
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, Access |
Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the |
Purge |
Removes all access rules associated with the specified IdentityReference. |
Purge |
Removes all audit rules associated with the specified IdentityReference. |
Read |
Locks this ObjectSecurity object for read access. (Inherited from ObjectSecurity) |
Read |
Unlocks this ObjectSecurity object for read access. (Inherited from ObjectSecurity) |
Remove |
Removes all access rules that have the specified IdentityReference object and AccessControlType object from the DACL of an object. |
Remove |
Removes all access rules that contain the same security identifier and access mask as the specified access rule from the DACL of an object. |
Remove |
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 DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Remove |
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 DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Remove |
Removes all access rules that exactly match the specified access rule from the DACL of an object. |
Remove |
Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Remove |
Removes all audit rules that have the specified IdentityReference object from the SACL of an object. |
Remove |
Removes all audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) of an object. |
Remove |
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 DirectoryObjectSecurity) |
Remove |
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 DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Remove |
Removes all audit rules that exactly match the specified audit rule from the SACL of an object. |
Remove |
Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity) |
Reset |
Searches an object's DACL for all access rules that contain a security identifier (SID) that matches the SID specified in the |
Reset |
Removes all access rules in the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object and then adds the specified access rule. (Inherited from DirectoryObjectSecurity) |
Set |
Searches an object's DACL for all access rules that contain a security identifier (SID) that matches the SID specified in the |
Set |
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 DirectoryObjectSecurity object and then adds the specified access rule. (Inherited from DirectoryObjectSecurity) |
Set |
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) |
Set |
Replaces all audit rules that contain the same security identifier as the specified audit rule in the SACL of an object with the specified audit rule. |
Set |
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 DirectoryObjectSecurity object and then adds the specified audit rule. (Inherited from DirectoryObjectSecurity) |
Set |
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) |
Set |
Sets the primary group for the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
Set |
Sets the owner for the security descriptor associated with this ObjectSecurity object. (Inherited from ObjectSecurity) |
Set |
Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified array of byte values. (Inherited from ObjectSecurity) |
Set |
Sets the security descriptor for this ObjectSecurity object from the specified array of byte values. (Inherited from ObjectSecurity) |
Set |
Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string. (Inherited from ObjectSecurity) |
Set |
Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string. (Inherited from ObjectSecurity) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Write |
Locks this ObjectSecurity object for write access. (Inherited from ObjectSecurity) |
Write |
Unlocks this ObjectSecurity object for write access. (Inherited from ObjectSecurity) |
Toode | Versioonid |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: