Posts

Post not yet marked as solved
1 Replies
364 Views
I want to update the existing ASPasswordCredentialIdentity stored in ASCredentialIdentityStore. I used the saveCredentialIdentities method of ASCredentialIdentityStore but it doesn't replace a new username in ASCredentialIdentityStore instead it adding a duplicate entry for a new username.I tried to remove first old ASPasswordCredentialIdentity from the store and then add a new entry using saveCredentialIdentities but it also adds a duplicate entry with a new username.But replaceCredentialIdentities works fine. But to update single entry replacing the whole ASCredentialIdentityStore is not good practice.How to update existing ASPasswordCredentialIdentity with new username but the same identifier?
Posted
by akshay355.
Last updated
.