kODPolicyAttributePassword

Static kODPolicyAttributePassword 

Source
pub unsafe static kODPolicyAttributePassword: Option<&'static ODPolicyAttributeType>
Available on crate feature CFOpenDirectoryConstants only.
Expand description

Policy attribute for the password.

Policy attribute for the password in plain text. May be used in policies to compare against other attributes or for evaluation against regular expressions. Primarily useful in the Password Content policies. For example, this policy string checks whether the password length is at least 8 characters: [NSString stringWithFormat: “ % @ matches ‘.{8,}+’“, kODPolicyAttributePassword];

See also Apple’s documentation