VGSecurityRuntimeResetPassword Method (String) |
Note: This API is now obsolete.
Namespace: Novalys.VisualGuard.Security
[ObsoleteAttribute("You need to use ResetPassword or ForcePassword methods in {VGSecurityRuntime.Membership}")] public string ResetPassword( string name )
Exception | Condition |
---|---|
ArgumentNullException | The name is null. |
ArgumentException | The name is longer than 64 characters orThe name is empty. |
VGMembershipPasswordException |
The user account is currently locked out or does not exist.
- or - The generated password does not pass the password policy validation. |
NotSupportedException | RequiresQuestionAndAnswer is set to true. orEnablePasswordReset is not set to true. orthe repository does not support Visual Guard authentication mode. |