UserDelete

Top  Previous  Next

SOAP

UserDelete( aHandle, 

                aUserGroupName, aUserLogin, 

                &aErrorMsg );

 

REST

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

returns ErrorMsg

 

Description: UserDelete() removes a user account from the CrashMagic system.  Removing a user account removes all templates, projects, studies and reports for this account as well.  This function will fail if the account does not exist in the specified group.

 

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

aUserGroupName The user group that the user exists in.

aUserLogin The login to be deleted.

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

 

Example: UserDelete( lHandle, "DOT@NY", "Scott", lErrorMsg );