PasswordManagerGeneratePolicyPasswordStatic Method |
Generates a password that matches the given policy.
Namespace:
PsrApi.Managers
Assembly:
PsrApi (in PsrApi.dll) Version: 9.3.1.33994 (05.02.2026)+877276ecd19b420b1689117d76424351f3a6cb2b
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