User Name property to show connection state

(imported topic written by acula2391)

I need to modify the User Name property to show also the state of the logged on user. What would be the relevance to display the result in the below format?

User1 - Active - Local

User2 - Disconnected - Remote

Am I on the right track with the following? How to include if-then-else to substitute the true/false?

Q: (name of it,active of it,remote of it) of logged on users

A: Administrator, True, True

A: user1, True, True

Thanks!

(imported comment written by jessewk)

Yup, you’re on the right track. I think you’re looking for this:

Q: (name of it, (if active of it then “Active” else “Inactive”), (if remote of it then “Remote” else “Local”)) of logged on users

A: jessewk, Active, Local