Cache security
Thanks for all replies in advance.
Is it possible to modify a users security from a batch script? If it is possible can someone point me to some examples or documentation?
Discussion (2)0
Comments
You can modify users account via Security.Users class.
So:
- Write a method that modifies users security
- Call it from bash script via csession with arguments
While it is possible to do with COS, there are so many different ways to achieve it.
Most easiest and preferable way, is to write some code on server side, and call it from batch script.
To work with users, you can use class Security.Users.
Also you can look at %Installer manifest, which has some functionality about security.
Terminal scripts, can help to automate some things. And how to run it.
And even you can read this article, about COS and Linux. It is quite simple, but as an example.