Book a Demo

Author Topic: Is a user in a group  (Read 4165 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Is a user in a group
« on: August 11, 2014, 08:50:54 pm »
Hi,

Is there a way via the automation interface to check is a user is in a specific group ?

Regards,

Jon.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Is a user in a group
« Reply #1 on: August 11, 2014, 09:11:00 pm »
You need to write a query reading t_secusergroup.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Is a user in a group
« Reply #2 on: August 12, 2014, 08:48:30 am »
I use the following sql in EA's search window and group by GroupName to see group membership.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Is a user in a group
« Reply #3 on: August 12, 2014, 04:03:02 pm »
Quote
I use the following sql in EA's search window and group by GroupName to see group membership.
Simon you forgot to include the actual SQL  ;D

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Is a user in a group
« Reply #4 on: August 12, 2014, 04:52:30 pm »
select t_secgroup.GroupName, t_secuser.FirstName, t_secuser.Surname from t_secgroup, t_secusergroup, t_secuser where t_secgroup.GroupID = t_secusergroup.GroupID and t_secuser.UserID=t_secusergroup.UserID