Forum Discussion

matthieu_gironn's avatar
matthieu_gironn
Occasional Contributor
11 years ago

How to get folder permissions?

Hi,



I'm interested in testing the access rights and security permissions of a folder on a windows 7 computer.



There seems to be a command line to get his (cacls) but I was wondering if I could use some functions in TC scripts to do this.



Thanks,



Matthieu Gironnet





  • Hi Matthieu,



    TestComplete does not contain any specific means to get/check folder permissions, so you should either execute command-line tools (like mentioned by you) and analyse their output or (for example) search for WMI samples that will do the same.
  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi Matthieu,



    TestComplete does not contain any specific means to get/check folder permissions, so you should either execute command-line tools (like mentioned by you) and analyse their output or (for example) search for WMI samples that will do the same.