View Single Post
  #11 (permalink)  
Old 02-25-2008, 03:43 PM
jrjespersen jrjespersen is offline
Member
 
Join Date: Nov 2007
Posts: 31
Default

Quote:
Originally Posted by pwiesner View Post
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:
  1. Returns an error is the updateIfExists parameter is false.
  2. 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.
Reply With Quote