Validates the password against the rules defined in the configuration.
Namespace: Composite.C1Console.SecurityAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
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}@)"]