Enabling a User's Connection Limit (SetHasMaxUsers)

Use the ICIClientSettings interface SetHasMaxUsers method to limit a user to a maximum number of concurrent connections. Use the same method to turn off the limit.

Signature:

HRESULT SetHasMaxUsers([in] SFTPAdvBool val);

0 = Disable

1 = Enable

-2 = Inherit