2022.08.30 12:08 AM
Hi All,
Is there a way we can find out list of users in a user group on a running Kx?
Things I have tried are:
ug:`userGroupName;
.px.upd.getUsers[ug]
.px.upd.getMailLists[ug]
Appreciate any help.
2022.08.30 12:45 AM
Hi cj,
Try this one:
select member by ugroup from .pm.getUserGroup[]
Regards,
David
2022.08.30 12:45 AM
Hi cj,
Try this one:
select member by ugroup from .pm.getUserGroup[]
Regards,
David
2022.08.30 03:50 PM - edited 2022.08.30 03:52 PM
Thanks David, meanwhile the following worked as well. 🙂 Are .pm entities there in the Kx Documentation somewhere?
.px.pm.getUser each (.px.upd.getUsers[`ALL])`name;
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.