Skip to content

Set File Permission

Sets the read and write permissions of a file.

Permissions

Command KindNeeded User Kind
WriteAdmin, Sys

Parameters

NameTypeDescriptionRequiredDefaultValues
FilestringName/path of the file ([Directory/File]). The root directory is the 'Files' directory of the database on the server.yes
Rolearray of stringName of the role ([Role]).no
Userarray of stringName of the user ([User]).no

Result

No fields

Code

text
SET FILE PERMISSION
FILE=[string, Needed]
ROLE=[string, Multiple]
USER=[string, Multiple]