InstrumentedAttribute::SecurityDescriptor Property

 

Gets or sets a security descriptor that allows only the specified users or groups to run applications that provide the instrumentation supported by this assembly.

Namespace:   System.Management.Instrumentation
Assembly:  System.Management (in System.Management.dll)

public:
property String^ SecurityDescriptor {
	String^ get();
}

Property Value

Type: System::String^

Returns a String value containing the security descriptor that allows only the specified users or groups to run applications that provide the instrumentation supported by this assembly.

Users or groups not specified in this security descriptor may still run the application, but cannot provide instrumentation from this assembly.

If null, the default value is defined as the Local Administrators Group. This will only allow members of the local administrators group to publish data and fire events from this assembly. Otherwise, this is a string in SDDL format representing the security descriptor that defines which users and groups can provide instrumentation data and events from this application.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: