Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
André Alho
2
Views
1
Comments
How to change a user password in active directory
Question
Hi, how can we change the password of a user in AD with the extension LDAP? Without remove and create it again.
I've been looking for solution to this, and I've found a code in C# that can be used. But what I really want to know is if is any way to change it using LDAP extension.
Here is the link of C# code.
https://msftliveblogs.com/mhamilton/archive/2007/12/25/how-to-change-a-users-password-in-active-directory-with.aspx
Thanks,
André Alho
AcacioPN
Staff
Hello André
I don't think you can do that using any of the methods in LDAP extension - the operation to perform the change is an invoke of a specific operation - Change Password, requiring specific parameters, which is not likely possible with the generic SetProperty.
I could not open the link you pasted, but found a different one with a code example:
https://www.rootsilver.com/2007/08/how-to-change-a-user-password.html
It simply opens a connection on behalf of a user, and changes the password. Please give it a try and let us know how it goes. I suggest you do that in a separate extension.
If it works, feel free to post the new extension and/or submit it to support@outsystems.com - it seems like a nice addition to LDAP extension.
Cheers,
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...