PasswordManagerGeneratePolicyPassword Method |
Generates a password that matches the given policy.
Namespace:
PsrApi.Managers
Assembly:
PsrApi (in PsrApi.dll) Version: 9.2.4.33163 (18.08.2025)+dec6f51c484240b8abaa8be3c442061ed610820b
Syntaxpublic string GeneratePolicyPassword(
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