ACF2 List Members/Logonids in a Role
search cancel

ACF2 List Members/Logonids in a Role

book

Article ID: 226493

calendar_today

Updated On:

Products

ACF2 - z/OS

Issue/Introduction

What is the most appropriate way to list all of the users in a particular Role? It appears that the ROLES subcommand only displays the roles that a user is apart of, but not the other way around (list role to see all members).

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

The easiest way to list all logonids defined in a ROLE would be as follows.

From TSO, ACF:

ACF
SET X(ROL)
LIST rolename

From ACFBATCH:

//ACFBATCH EXEC PGM=ACFBATCH
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
SET X(ROL)
LIST rolename
/*