UserCreate (server
,username
,password
,passwordage
,privilege
,homedir
,comment
,flags
,scriptpath
)
Creates a new user with the specified settings:
Name of the server
Name of new user
The user's password
Amount of time before password expires
Privilege settings of the new user, which can be one of the following:
USER_PRIV_MASK USER_PRIV_GUEST USER_PRIV_USER USER_PRIV_ADMIN
Pathname of the user's home directory
A string containing a comment about the user
A flag containing user creation settings, which can be one of the following:
UF_TEMP_DUPLICATE_ACCOUNT UF_NORMAL_ACCOUNT UF_INTERDOMAIN_TRUST_ACCOUNT UF_WORKSTATION_TRUST_ACCOUNT UF_SERVER_TRUST_ACCOUNT UF_MACHINE_ACCOUNT_MASK UF_ACCOUNT_TYPE_MASK UF_DONT_EXPIRE_PASSWD UF_SETTABLE_BITS UF_SCRIPT UF_ACCOUNTDISABLE UF_HOMEDIR_REQUIRED UF_LOCKOUT UF_PASSWD_NOTREQD UF_PASSWD_CANT_CHANGE
Pathname for the user's login script