CloneUser Method
- Last UpdatedNov 06, 2025
- 1 minute read
The CloneUser() method creates a new user by copying the user information from the user defined by the user object to a new user with a user ID and encrypted password passed in. This includes adding the user to all of the user groups that the current user is in.
'Declaration
Public Sub CloneUser( _
ByVal userId As String, _
ByVal encryptedPassword As String _
)
public void CloneUser(
string userId,
string encryptedPassword
)
Parameters
- userId
Required. Holds the ID for the new user.
- encryptedPassword
Required. Holds a string that is the password for the new user.