Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Example: If "Integrity Developer Role Group" has listed with "user1, user2, user3, ....user10". But in my local "Excel user list" i have only 9-user (i.e user1, user2, user3, ...user9). In this case user10 is missing in my "Excel user list" file. so how to find this using "batch scripting file"
the CLI command:
aa groups --members <groupname>
gives you the Login names of all users in a Group.
the CLI command:
aa users --groups <username>
gives you all the groups a user is member of.
Note:
this does not work for dynamic Groups, only for static domain Groups.
HTH Matthias
Hi Matthias,
Thanks for your information. But in this case I want to check by using "Batch file" scripting.
What exactly do you mean by
"Batch file" scripting.
IMHO in a Batch file you can utilize the CLI PTC offers you (either using DOS Shell, Powershell, BASH or what ever)
Hello vijayakumar s,
To add to Matthias Rump's response, you can use the --batch option with those CLI commands to keep them from going interactive and requesting user credentials or server connection information. In that case, you'll need to use --user=, --password=, --hostname=, and --port, unless those respective values are already saved in the client running the script.
Regards,
Kael