.NET LDAP client library for .NET Standard >= 2.0, .NET Core >=1.0, NET5/NET6/NET7/NET8 - works with any LDAP protocol compatible directory server (including Microsoft Active Directory).
Hi, I was using the following codes to change password in the old version, but the LdapAttribute doesn't have the sbyte overload anymore. What is the correct way to set/change password now?
var encodedBytes = SupportClass.ToSByteArray(Encoding.Unicode.GetBytes($"{password}"));
var attributePassword = new LdapAttribute("unicodePwd", encodedBytes);
Hi, I was using the following codes to change password in the old version, but the LdapAttribute doesn't have the sbyte overload anymore. What is the correct way to set/change password now? var encodedBytes = SupportClass.ToSByteArray(Encoding.Unicode.GetBytes($"{password}")); var attributePassword = new LdapAttribute("unicodePwd", encodedBytes);