Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: steen.jensen on April 14, 2023, 07:59:21 pm
-
Halloy.
We have about 65 users i ouer ms-SQL repository in 15 diffrent user groups.
Is there any doc-template or SQL-script that can list users och groups för possible export to excel & document printout
-
Query t_secuser and t_secgroup. That should get you the reasonable information.
q.
-
this might help :
select d.groupname AS Groupname,a.firstname + ' ' + a.surname AS Name
from t_secuser a
inner join t_secusergroup b on a.userid=b.userid
inner join t_secgroup d on b.groupid=d.groupid
order by 1,2
-
this might help :
select d.groupname AS Groupname,a.firstname + ' ' + a.surname AS Name
from t_secuser a
inner join t_secusergroup b on a.userid=b.userid
inner join t_secgroup d on b.groupid=d.groupid
order by 1,2
Thanks 8)