WmiConfigurationAttribute.NamespaceSecurity Property
Definition
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.
Gets or sets a Security Descriptor Definition Language (SDDL) string that specifies the security descriptor on the namespace in which the provider exposes management objects.
public:
property System::String ^ NamespaceSecurity { System::String ^ get(); void set(System::String ^ value); };
public string NamespaceSecurity { get; set; }
member this.NamespaceSecurity : string with get, set
Public Property NamespaceSecurity As String
Property Value
An SDDL string that represents the security descriptor on the namespace in which the provider exposes management objects.
Examples
The following example demonstrates how to use the NamespaceSecurity parameter to set the security descriptor on the root/SDTest namespace in which the provider implemented in this assembly exposes WMI classes.
[assembly: WmiConfiguration("root/SDTest", HostingModel = ManagementHostingModel.Decoupled, IdentifyLevel = false, NamespaceSecurity = "O:BAG:BAD:(A;CI;0x60003;;;WD)")]
Remarks
For more information about how to represent security descriptors in SDDL format, see Security Descriptor String Format.