Function Description NetUserAdd Adds a user account and assigns a password and privilege level. NetUserChangePassword Changes a user's password for a specified network server or domain. NetUserDel Deletes a user account from the server. NetUserEnum Lists all user accounts on a server. NetUserGetGroups Returns a list of global group names to which a user belongs. NetUserGetInfo Returns information about a particular user account on a server. NetUserGetLocalGroups Returns a list of local group names to which a user belongs. NetUserSetGroups Sets global group memberships for a specified user account. NetUserSetInfo Sets the password and other elements of a user account. 就这几条函数,具体的LZ可以查查MSDN
NetUserAdd Adds a user account and assigns a password and privilege level.
NetUserChangePassword Changes a user's password for a specified network server or domain.
NetUserDel Deletes a user account from the server.
NetUserEnum Lists all user accounts on a server.
NetUserGetGroups Returns a list of global group names to which a user belongs.
NetUserGetInfo Returns information about a particular user account on a server.
NetUserGetLocalGroups Returns a list of local group names to which a user belongs.
NetUserSetGroups Sets global group memberships for a specified user account.
NetUserSetInfo Sets the password and other elements of a user account. 就这几条函数,具体的LZ可以查查MSDN