|
This online help file is for EFT Server version 6.2.x. For other versions of EFT Server, please refer to http://help.globalscape.com/help/index.html. (If the Index and Contents are hidden, click Show Contents pane in the top left corner of this topic.) |
|
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 SetAnonymousLogin method to allow or prohibit anonymous logins.
Signature:
HRESULT SetAnonymousLogin(
[in] SFTPAdvBool val );
Values:
0 = Prohibited
1 = Allowed
-2 = Inherited
Example:
Dim strUser:strUser = "test"
set oUserSettings = oSite.GetUserSettings(strUser)
oUserSettings.SetAnonymousLogin( True )