ManagementAuthentication.IsPasswordStrongEnough(String) Method

Definition

Returns a value that indicates whether a password meets strength requirements.

public:
 static Microsoft::Web::Management::Server::InvalidPasswordReason IsPasswordStrongEnough(System::String ^ password);
public static Microsoft.Web.Management.Server.InvalidPasswordReason IsPasswordStrongEnough (string password);
static member IsPasswordStrongEnough : string -> Microsoft.Web.Management.Server.InvalidPasswordReason
Public Shared Function IsPasswordStrongEnough (password As String) As InvalidPasswordReason

Parameters

password
String

The password.

Returns

One of the Microsoft.Web.Management.Server.ManagementAuthenticationProvider.InvalidPasswordReason values.

Exceptions

password is null or empty.

Remarks

This method passes the specified parameter to the IsPasswordStrongEnough method of the Microsoft.Web.Management.Server.ManagementAuthenticationProvider object that is specified in the Provider property.

Applies to