Rule to disallow users with same IP as existing logged in users from logging in

I have a requirement where if a user is logged in and another user tries to login on the same machine, we need to disallow them since the first user is already logged in from that machine. I was thinking of using a rule for this but I am not sure how to implement checking a user’s IP against the list of IPs of all logged in users.

So, could someone please give me some pointers in this regard?

Thanks.

Hi @Sargent_D,

Are you sure all of your users will have a distinct IP? Separate users could share an IP for a number of reasons.

Closing as inactive.