Xbasic
A5_ADD_NEW_USER Function
Syntax
L a5_add_new_user(C master_password ,C user_name ,C user_password [,C member_of [,C startup_script ]])
Arguments
- master_password
The master password for the database.
- user_name
The name of the new user.
- user_password
The password for the new user.
- member_of
A CR-LF delimited list of groups.
- startup_script
Optional. Default = no startup script. The name of the user's startup script.
Description
Allows the administrator to add a new user account. Member_of is a semi_colon (;) delimited list of groups that the user is a member of.
Discussion
The A5_ADD_NEW_USER() function allows the administrator to add a new user to the User Account File. Requires that the database first be password protected.
Example
? a5_add_new_user("mpassword", "John", "John") = .T.
Limitations
Desktop applications only.
See Also