Problem of duplicate user login to the system from different place at same time ( Limit User Access )

Hi guys, I noticed that currently the same user account is able to login to the system from different place at the same time ? May I know that anything I can do to unable this features.

Thanks in advance.

@bkarabinchak.psi Thanks Bro

Hi @bkarabinchak.psi
May I know that did you done that before ? I had try the link you gave but it dint work for me.

Not sure the answer, but answers will be completely different between Vision and Perspective. @bkarabinchak.psi assumed you were talking about Vision. Are you using Vision or Perspective?

seems he asked it on 2 places, its perspective.

Here is what i answered there, tho i can’t really test it myself

sessions = system.perspective.getSessionInfo()
current_id =
current_user = self.session.props.auth.user.userName

for row in sessions:
   if row["username"] == current_user and row["id"] != current_id and row["sessionScope"] != "designer":
      for page in row["pageIds"]:
         system.perspective.logout(row["id"], page)

3rd time’s the charm!

Hi Bro @nminchin
I’m using Perspective.