Security API -> User Lock Policy -> getuserlockpolicy

external_document