Access to current user logged

Hello,

i am trying to access the current logged user. To know who is using the web/app.

Is that possible?

In sitemap and rules/script.

Thanks!

1 Like

@samverner777: Did you get something?

no luck. i think they did not code it.

it’s disappointing. it could be a great feature!

I’m not a Java guy but according to OH wiki OH uses JAAS.
What if we import related module/class in rules?
So anybody know if there is any class in javax.security.auth.login.* (or may be anywhere else location) where I can get authenticated user information (at least username)?