DirectoryEntry::ObjectSecurity Property
.NET Framework (current version)
Gets or sets the security descriptor for this entry.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
public: [BrowsableAttribute(false)] [DSDescriptionAttribute("DSObjectSecurity")] property ActiveDirectorySecurity^ ObjectSecurity { ActiveDirectorySecurity^ get(); void set(ActiveDirectorySecurity^ value); }
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
Available since 2.0
Show: