Julian, you can now use Win32Admin.DLL to check the number of active connections to a remote share. You can create a share, delete a share, get/set share properties on a remote server.

You can also use the DLL to get/set user account properties such as home directory and home drive.
_________________________
Home page: http://www.kixhelp.com/hb/