Refer to the following articles:
About managed and unmanaged (self-managed) clients
Checking whether the client is managed or unmanaged