Skip to main content
1-Visitor
July 9, 2012
Question

CloneUser doesn't preserve Groups

  • July 9, 2012
  • 1 reply
  • 1795 views

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-Visitor
July 9, 2012

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.