When you go to set the User Status to inactive in the UI, it will give you a prompt 'User is inactivated. Do you want to inactivate this user frmo all groups to which it belongs?"
Does the make_user utility support this functionality? Or any alternative method to achieve this in batch?
Can set the user status to inactive with the status argument. This works successfully, but does not change the status of the group member status.
Tried with adding in group/role to see if it would also take out the group member status of the default group but does not.
Can set the group member status to inactive with the gm_status argument. But the utility returns an error if this is attempted on the users default group/role.
Failed to set member status for groupmember: 10129
10129 - You can not deactivate the user's last role from his/her default group.
Approver is the last active role of the user username <userid> in his/her default group.
Also, if the user status has been set to inactive, then this same gm_status command gives a different error.
ERROR 10035 set group member role.
10035 - Error creating member with duplicate role
Solved! Go to Solution.
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3