public void RenameProfile (string profileId, string newProfileId);

Parameters

profileIdID of existing profile.
newProfileIdNew ID for profile.

Description

Renames the ID of a profile.

Changes the ID of the

Throws ArgumentNullException if profileId or newProfileId is null. Throws ArgumentException if profileId is not available. Throws ArgumentException if profile is read-only, i.e. IsProfileReadOnly returns true for profileId. Throws ArgumentException if newProfileId is already available, i.e. when GetAvailableProfileIds contains newProfileId. Throws ArgumentException if newProfileId is invalid.