Since passwords are stored encrypted in the database, this function will reset the password to a NEW random password The new password is returned in returnValue.Tables[0].Rows[0]["password"] This should then be emailed to the user Calls: xct_spACResetPassword
Namespace: ctAC
Assembly: ctAC (in ctAC.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| <WebMethodAttribute(Description := "Sets a new random password for a user account in AC", MessageName := "resetPassword"), _ SoapHeaderAttribute("myCTACHeader", Direction := SoapHeaderDirection.In)> Public Function resetPassword( _ ByVal emailAddress As String _ ) As DataSet |
| C# |
|---|
| [WebMethodAttribute(Description = "Sets a new random password for a user account in AC", MessageName = "resetPassword")] [SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In)] public DataSet resetPassword( string emailAddress ) |
| C++ |
|---|
| [WebMethodAttribute(Description = L"Sets a new random password for a user account in AC", MessageName = L"resetPassword")] [SoapHeaderAttribute(L"myCTACHeader", Direction = SoapHeaderDirection::In)] public: DataSet resetPassword( String emailAddress ) sealed |
| J# |
|---|
| /** @attribute WebMethodAttribute(Description = "Sets a new random password for a user account in AC", MessageName = "resetPassword") */ /** @attribute SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In) */ public DataSet resetPassword( string emailAddress ) |
| JScript |
|---|
| public WebMethodAttribute(Description = "Sets a new random password for a user account in AC", MessageName = "resetPassword") SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In) function resetPassword( emailAddress : String ) : DataSet |
Parameters
- emailAddress