How list active user of ppp?

Hello,
How can I get active user list of ppp? and after that tell him remove double connection?
Is it possible with scripting?
Please help me to do it!
Untitled.gif

you can set in profile that only one connection is available.

I set this but with user it didn’t work!
Help me please!