NetUserAdd or Net32UserAdd

The NetUserAdd API establishes an account for a user in the user accounts subsystem (UAS) database and assigns a password and privilege level. NetUserAdd allows adding a new user ID for the additional server.