ManagementAuthentication.IsPasswordStrongEnough(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.