Hi All,

We are able to create new user successfully on the active directory but the SetPassword method is taking around 1.5 minutes to complete the process. Below is the code of the snippet of SetPassword. Is there any better approach to set the password of new user?
    #region SetPassword
    /// <summary>
    /// This function is used to set user password
    /// </summary>
    /// <param name="path"></param>
    /// <param name="userPassword"></param>
    /// <remarks>
 
  /// </remarks>
    internal static void SetPassword(string path, string userPassword)
    {
        if (_logger.IsDebugEnabled)
            _logger.Debu ...

Go to the complete details ...