Validates the password against the rules defined in the configuration.

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

Syntax

C#
public static bool ValidatePassword(
	IUser user,
	string password,
	out IList<string> validationMessages
)
Visual Basic
Public Shared Function ValidatePassword ( _
	user As IUser, _
	password As String, _
	<OutAttribute> ByRef validationMessages As IList(Of String) _
) As Boolean
Visual C++
public:
static bool ValidatePassword(
	IUser^ user, 
	String^ password, 
	[OutAttribute] IList<String^>^% validationMessages
)

Parameters

user
Type: Composite.Data.Types..::..IUser
The user information.
password
Type: System..::..String
The new password that has to be validated.
validationMessages
Type: System.Collections.Generic..::..IList<(Of <(<'String>)>)>%
The list of password rules that password did not satisfy.

Return Value

[Missing <returns> documentation for "M:Composite.C1Console.Security.PasswordPolicyFacade.ValidatePassword(Composite.Data.Types.IUser,System.String,System.Collections.Generic.IList{System.String}@)"]

See Also