ChangeSecurityPermissions method of the Win32_CodecFile class

The
ChangeSecurityPermissionsWMI class method changes the security permissions for the logical codec file specified in the object path. If the logical file is a directory, then
ChangeSecurityPermissions is recursive, and changes the security permissions of all of the files and subdirectories the directory contains.
ChangeSecurityPermissions returns an integer value of 0 (zero) if the permissions are changed, and a different number to indicate an error.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see
Calling a Method.