PasswordPolicyViolationException Class

The exception that is thrown by a password extension when the password does not comply with the password policy. Examples of policy violations include a password that is too long or too short; a password that does not contain a symbol, number, or uppercase letter; or a password that was recently used.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As PasswordPolicyViolationException

Syntax

'Declaration
Public NotInheritable Class PasswordPolicyViolationException
    Inherits ExtensionException
public sealed class PasswordPolicyViolationException : ExtensionException
public ref class PasswordPolicyViolationException sealed : public ExtensionException
public final class PasswordPolicyViolationException extends ExtensionException
public final class PasswordPolicyViolationException extends ExtensionException

Inheritance Hierarchy

System.Object
   System.Exception
     System.ApplicationException
       Microsoft.MetadirectoryServices.ExtensionException
        Microsoft.MetadirectoryServices.PasswordPolicyViolationException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

PasswordPolicyViolationException Members
Microsoft.MetadirectoryServices Namespace
Microsoft.MetadirectoryServices