How to create shipping method for logged in users only

With this feature, we can create some special shipping methods which only available for the logged in users only.

For eg. If there is shipping method name like "One day delivery" want to check based on the user address then if user logged in and if address is within a area of store then unable this shipping method.

Admin setting Preview:

Front site cart page Preview:

Using this feature we can set multiple shipping method  for the logged in users.