Add user management functionality to .NET client API

Fixes #293. Closes #332 and closes #297.