Security Level by user

Hi,

Would it be possible to get a list of the security level by expression or scripting for the actual logged in user in a perspective session?

Regards

You should just be able to reference the session property: session.props.auth.user.roles.
See:

What would be the use case ?

Hi pascal,

just for visualization on a perspective view. But i think i have been too fast for asking help on the forum and i found what i needed inside the sessions props.
image

images

6 Likes