Click or drag to resize

PasswordManagerGeneratePolicyPassword Method

Generates a password that matches the given policy.

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 8.13.13.27522 (14.03.2022)
Syntax
C#
public 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