cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

CloneUser doesn't preserve Groups

ptc-6292103
12-Amethyst

CloneUser doesn't preserve Groups

I have a user Prototype_User assigned to group ReadOnly.

I call CloneUser, but the new user is not assigned to group ReadOnly; the documentation says it should be.

My workaround is to explicitly add the user to the group after cloning.

-Chad

1 REPLY 1
paic
12-Amethyst
(To:ptc-6292103)

Hi Chad, I am very sorry. CloneUser was never intended to retain the Group assignments.

So yes you will need to add cloned users to their appropriate groups. I will update the documentation.

Announcements


Top Tags