Use the ICIClientSettings interface GetHasPwdRetries method to determine if a user account will be disabled after trying too many bad passwords in a row. Refer to User Password Settings for an illustration of how this and other Client Settings Interface Methods and Properties can be accessed in the Administrator interface.
GetHasPwdRetries/SetHasPwdRetries are related to old "disable account after X login attempts" feature, which became obsolete when the PCI-enhanced feature "disable/lockout account after X login attempts in X minute period" was introduced. These methods were left in the .dll for compatibility with old scripts.
[out, optional] VARIANT_BOOL *pInherited,
[out, retval] VARIANT_BOOL *pVal);
0 = Unlimited
1 = Limited