GetEffectivePermission method of the CIM_DataFile class
GetEffectivePermission method determines whether the caller has the aggregated permissions on the CIM_DataFile object, and the share on which the file or directory resides, as specified by the
Permission argument. This method is inherited from
Important The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.
This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see
Calling a Method.
Grants the right to append data to the file. For a directory, this value grants the right to create a subdirectory.
Grants the right to read extended attributes.
Grants the right to write extended attributes.
FILE_EXECUTE (file)FILE_TRAVERSE (directory)
Grants the right to execute a file. For a directory, the directory can be traversed.
Grants the right to delete a directory and all the files it contains, even if the files are read-only.
Grants the right to read file attributes.
Grants the right to change file attributes.
Grants delete access.
Grants read access to the security descriptor and owner.
Grants write access to the discretionary ACL.
Assigns the write owner.
Synchronizes access and allows a process to wait for an object to enter the signaled state.
Returns True if the call has the necessary permission; otherwise, it returns false.
GetEffectivePermission method in
CIM_DataFile is implemented by WMI.
This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.