Allowing Users to Create Any Password (SetAllowAnyPwd)

icon_info.gif

This method is available only in EFT Server 6.0 and prior. An administrator can make the user account anonymous with the ICISite::ChangeUserPassword method.

Use the ICIClientSettings interface SetAllowAnyPwd method to specify whether a user to create any password (i.e., complex passwords not required). 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.

Signature:

HRESULT SetAllowAnyPwd(

[in] SFTPAdvBool val);

Values:

0 = Prohibited

1 = Allowed

-2 = Inherited

Example:

Dim strUser:strUser = "test"

set oUserSettings = oSite.GetUserSettings(strUser)

oUserSettings.SetAllowAnyPwd ( True )