|
MKI_FileGrantUserAccess (File I/O) Changed in Version 2013.1 |
www.CAD6.com |
C++ Syntaxbool MKI_FileGrantUserAccess( const LPCWSTR f_pszFileName );
Adds the default user "Everyone" with full access permission to the specified file's access control list (ACL). This makes sure that for example a settings file in the <All Users> directory can be rewritten by standard users even if they don't have full permission. Otherwise standard users cannot rewrite settings files originally created by an administrator.
ParametersFileName [const LPCWSTR] Address of file name.
Return ValueReturns true if the default user "Everyone" with full access permission was successfully added to the specified file's access control list (ACL), else false (usually indicating that the serving application currently has no Administrator rights or the file does not exist).
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH