Not available for a Windows user.
Creates a record for a new user. A new user of the specified type is created. The name of the user needs to be unique.
This function is not supported on the Internet Display Client. If this function is called on the Internet Display Client then it will return an error.
UserCreate(sName, sFullName, sPassword, sType [, sAccess] [, sPrivGlobal] [, sPriv1..sPriv8] )
The name of the user.
The full name of the user.
The password of the user.
The sPassword argument is optional. If not passed, this argument defaults to an empty string which is subsequently ignored. It is included for the purposes of handling duplicate user names and separate password identification compatibility.
The generic type of user. The type needs to be defined in the Users database (with the Users form).
User's viewable areas.
User's global privilege.
User's privilege for areas 1 - 8.
0 (zero) if successful, otherwise an error is returned.
UserDelete, UserEditForm, UserPassword, UserPasswordForm, UserCreateForm
/* Create a new user */
UserCreate("Fred", "Fred Jones", "secret", "Operator");