Using the new User class in SilverSHielD v6.0

SilverSHielD v6.0 drops the old “User” object and introduces the brand new TSilverSHielDUser class, from which you can instantiate as many “user objects” and you need at run-time.

Here’s a short example that shows how to clone a user profile from within a script run by SilverSHielD’s event-handling subsystem:

After associating the above script to an event-handler, such as “on password auth” (for example) of the user profile you want to clone, upon the next password authentication of such user the script will be run and create a clone, as you can see from the screenshot below:

Comments are closed.