Users by role
1 1

2 posts in this topic

Hi,

You should be able to use this:

session.query('User where user_security_roles.security_role.name is "Administrator"').first()

/Johan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1