A Sandcastle Documented Class Library

# IAccountService IsPasswordComplex Method

Determines whether the provided password meets the application's password complexity requirements.

Namespace: Dundas.BI.AccountServices
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    bool IsPasswordComplex(
    	string accountName,
    	string password
    )

    Function IsPasswordComplex (
    	accountName As String,
    	password As String
    ) As Boolean

    bool IsPasswordComplex(
    	String^ accountName,
    	String^ password
    )

    abstract IsPasswordComplex :
            accountName : string *
            password : string -> bool

#### Parameters

accountName
  Type: System
  String
  The name of the account that the password is for.
password
  Type: System
  String
  The password to test.

#### Return Value

Type: Boolean
if the provided password meets the application's password complexity requirements; otherwise,
.
Exceptions

Exception | Condition
--- | ---
ArgumentException | accountName is or only contains white space.
ArgumentNullException | password is .

See Also

#### Reference

IAccountService Interface
Dundas.BI.AccountServices Namespace