netuseradd,是个api函数,在msdn里查得到的<br>NET_API_STATUS NetUserAdd(<br> LPWSTR servername, <br> DWORD level, <br> LPBYTE buf, <br> LPDWORD parm_err <br>);<br> <br>Parameters<br>servername <br>Pointer to a Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer. <br>level <br>Specifies one of the following values to set the level of information provided. Value Meaning <br>1 The buf parameter points to a USER_INFO_1 structure. <br>2 The buf parameter points to a USER_INFO_2 structure. <br>3 The buf parameter points to a USER_INFO_3 structure. <br><br><br>buf <br>Pointer to the buffer in which the data set with the level parameter is stored. <br>parm_err <br>Optional pointer to a DWORD that contains the index of the first parameter that causes ERROR_INVALID_PARAMETER. If NULL, the parameter is not returned on error. <br>在msdn里有更详细的帮助<br>