UserCreate (
server
,
username
,
password
,
passwordage
,
privilege
,
homedir
,
comment
,
flags
,
scriptpath
)
Creates a new user with the specified settings:
-
server
-
Name of the server
-
username
-
Name of new user
-
password
-
The user's password
-
passwordage
-
Amount of time before password expires
-
privilege
-
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
-
homedir
-
Pathname of the user's home directory
-
comment
-
A string containing a comment about the user
-
flag
-
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
-
scriptpath
-
Pathname for the user's login script