UserClone

Top  Previous  Next

SOAP

UserClone( aHandle, aUserGroupName, &aUserLogin, &aErrorMsg );

 

REST

/UserClone?Handle=<value>&UserGroup=<value>&UserLogin=<value>

returns ErrorMsg

 

Description: UserClone() Creates a new user account with a unique login.  The GroupName/Login must match an existing account in the system.  That account will be cloned, including all projects, studies, reports and templates.  Only the login name will be modified.

 

aHandle The value created in the call to Login().

aUserGroupName The user group that the user exists in.

&aUserLogin The account to clone.  This value will be modified to new (cloned) login.

&aErrorMsg is populated only if an error occurred that prevented the function from succeeding.  Otherwise, this parameter is empty.

 

Example: UserClone( lHandle, "DOT@NY", LoginTemplate, lErrorMsg );