From OpenSCADAWiki
Subsystem "Security" (SYS.Security)
Functions of the subsystem object (SYS.Security):
- int access( string user, int mode, string owner, string group, int perm ) — checking for access of the user to resource which owned by the owner and group and for the perm and mode:
- user — user of the access checking;
- mode — access mode (4-R, 2-W, 1-X);
- owner — owner of the resource;
- group — group of the resource;
- perm — permition of the resource (RWXRWXRWX — 0777).