Quote:
Originally Posted by pwiesner
I would suggest using the GetUserIdentities method to determine if a user already exists. You will want to search on the UniqueIdentifier field and use the username as the search value.
string[] userIdentities = wsProxy.GetUserIdentities(contextToken, "UniqueIdentifier", userName);
|
I have implemented this method but still encounter the same issue. I can correctly identify if a user ID exists using the GetUserIdentities() method, but when I call CreateUser(), the method either:
- Returns an error is the updateIfExists parameter is false.
- Returns successfully to the custom app if updateIfExists parameter is true, but the user ID is not added to the table ckbx_Credential. However, in this scenario, the profile data in the table ckbx_CustomUserFieldMap does get updated.
So, currently, I am unable to use the web service to recreate a deleted user.