Gets the number of users currently connected to the share. This number is dynamic and changes as users connect and disconnect from the file share.
This property is read-only.
Dim FileShare As IADsFileShare
'Get the FileShare interface for the file share "ShareName". The DomainName can be skipped if the computer does not belong to a particular domain
Set FileShare = GetObject ("NTDS://DomainName/ComputerName/file_services/ShareName")
'Print the number of users currently connected to "ShareName"