I did a search for 'createUser' on the latest code on the GitHub repository: https://github.com/mongodb/mongo-csharp-driver/search?q=createUser&ref=cmdform
At the time of writing, the only reference to 'createUser' is here
The method has been marked as obsolete however in this commit
However; on closer inspection of the code, I see this:
if (_server.RequestConnection.ServerInstance.Supports(FeatureId.UserManagementCommands))
{
AddUserWithUserManagementCommands(user);
}
else
{
AddUserWithInsert(user);
}
So, it is calling the required method under the hood