Checks if the password satisfies the rule.

Namespace: Composite.C1Console.Security.Plugins.PasswordPolicy
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
bool ValidatePassword(
	IUser user,
	string password
)
Visual Basic
Function ValidatePassword ( _
	user As IUser, _
	password As String _
) As Boolean
Visual C++
bool ValidatePassword(
	IUser^ user, 
	String^ password
)

Parameters

user
Type: Composite.Data.Types..::..IUser
The user.
password
Type: System..::..String
A password string.

Return Value

Field Value

true is password matches the rule, otherwise -

Field Value

false

See Also