AddUser
Function to add a new user.
Syntax:
Boolean AddUser(String sName,String
sLogin,String sPassword,String sProfile);
Add a
new user in the application.
Params:
String sName: A String parameter containing the name of the new user.
String sLogin: A String parameter containing the login for the new user.
String sPassword: A String parameter containing the password for the new user.
String sProfile: A String parameter containing the name of the profile that the new user will be set.
Return:
True: if the user was created successfully.
False: if the user was not created successfully.
Example:
Add a new user named as "Viewer" without password and having the profile "Guest".
SVSecurity.AddUser("Viewer", "Viewer", "", "Guest");
|