Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SetSecurityDescriptor WMI class method sets a security descriptor to the specified structure.
This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.
uint32 SetSecurityDescriptor(
[in] Win32_SecurityDescriptor Descriptor
);
-
Descriptor [in]
-
Expression that resolves to an instance of Win32_SecurityDescriptor.
Returns a value of 0 (zero) on success, and any other number to indicate an error.
-
0
-
The request was accepted.
-
1
-
The request is not supported.
-
2
-
The user did not have the necessary access.
-
8
-
Interactive process.
-
9
-
The name specified was not valid.
-
21
-
Parameters passed to the service are not valid.
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMv2 |
MOF |
|
DLL |
|