Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

WCF


Method
public AuthServerResponse DeleteUser(string authServerPartnerLoginName, 
                 string authServerPartnerLoginPassword, 
                 string authServerPartnerUserLoginName,
                 bool removeRelated)

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser account login name
removeRelatedboolIn addition to deleting the user al other references to the user such as audit trail will be removed from the system.
Sample WCF C# Method
AuthServerResponse  resp = DeleteUser("accountLogin",             
            "accountKey", 
            "Mandy", 
             false
            );
Sample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }


REST


REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringdelete_user
removeRelatedboolIn addition to deleting the user,  all other references to the user such as audit trail will be removed from the system.
Sample REST/Json Method
 {  
  "username": "Mandy",
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey": "accountKey",
  "removeRelated": "false",
  "type": "delete_user",


}
Sample REST/Json Response
 {
  "errorCode": 0,
  "errorMessage": "OK",
  "type": "delete_user"
}


  • No labels