WLST Fails to Set User in a Group When Using "setGroupMemberOf"
(Doc ID 2650569.1)
Last updated on JUNE 11, 2021
Applies to:Oracle WebLogic Server - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 12c]
Information in this document applies to any platform.
When creating a new user <user-name> and assign it to a new group <group-name> previously created, the setGroupMemberOf fails to assign the <user-name> to the <group-name>, and Administrators group is assigned by default.
To reproduce, run the following in WLST:
1. start WLST
2. run below commands to create domain with user <user-name> and assign group <group-name> to <user-name>:
But, as can be seen, group Administrators was assigned and group <group-name> is not assigned.
Another way to check is from '<DOMAIN_HOME>/init-info/security.xml' file:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document