Hi @Sugumar_5656 which ThingWorx version are you working with? Anyhow, as a best practice you wouldn't want to store passwords as clear text.
May be you can look into passing that string to a service which encrypts and store the password in the password field. There's a resource available called EncryptionServices with EncryptPropertyValue service, see help center for sample