NetUserChangePassword
you can use this function to check if user input password and account is right,just change password to the old one,check fail or not
NetGroupAddUser:
is for your second question:how to add user account,to do this,u must have admin authority.for parameters,check msdn.