win32net.NetGetJoinInformation

PyUnicode, int = NetGetJoinInformation()

Retrieves join status information for the specified computer.