PasswordManagerGeneratePolicyPasswordStatic Method |
Generates a password that matches the given policy.
Namespace:
PsrApi.Managers
Assembly:
PsrApi (in PsrApi.dll) Version: 9.2.5.33325 (02.09.2025)+429b894eb63dde25f05b27278f37720b53aa9a8f
Syntaxpublic static string GeneratePolicyPasswordStatic(
PsrPolicy policy,
List<string> usernames = null
)
Parameters
- policy
- Type: PsrApi.DataPsrPolicy
- usernames (Optional)
- Type: System.Collections.GenericListString
(optional) list of usernames that should be taken into account when NotAllowedPasswordUsername is true.
Return Value
Type:
String
See Also