DirectoryEntry.ObjectSecurity Property

 

Gets or sets the security descriptor for this entry.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

[BrowsableAttribute(false)]
[DSDescriptionAttribute("DSObjectSecurity")]
public ActiveDirectorySecurity ObjectSecurity { get; set; }

Property Value

Type: System.DirectoryServices.ActiveDirectorySecurity

An ActiveDirectorySecurity object that represents the security descriptor for this directory entry.

DirectoryServicesPermission

Demand is performed when an application sets the ObjectSecurity property, if the UsePropertyCache property is false.

.NET Framework
Available since 2.0
Return to top
Show: