Cisco Unified Application Environment Developer Forums

« Back to Developers

Reset AD Password using CUAE cutom code

Combination View Flat View Tree View
Threads [ Previous | Next ]
The C# code for reseting the password is running fine as a console application. But the same code as custom code in CUAD is throwing following errors
1. When we set the authentication type as NONE then it throwing as One or more input parameters are invalid.
2. When its SECURE then throwing as Exception has been thrown by the target of an invocation.

So i'm not sure what is the actual issue with the CUAE. Please help me to fix this issue.

Hi Sivaneshan,
 
When you start using the AD based code in CustomCode action on the CUAD, you need to add the LDAP libraries into the CustomeCode action. Without these libraries, your code will not compile.
 
You can take some help from the actions provided at
 
http://developer.cisco.com/static/cuae/2.5/2.5.1SR1/Designer/Metreos.Native.Ldap.html
 
See if you can reset the password using the Query action.
 
Regards,
Rakesh.