Fetch a user list from a user group

https://learninghub.kx.com/forums/topic/fetch-a-user-list-from-a-user-group

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.

Hi cj,

Try this one:

select member by ugroup from .pm.getUserGroup

 

Regards,

David

 

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;