Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstSSHServerUsers.LoadFromStream

procedure LoadFromStream(aSrc: TStream); virtual;
Reads the whole user database (INI text) from a stream, replacing the current Users. Use when the user list lives somewhere other than a plain Filename on disk - e.g. an encrypted blob or a database column the app decrypts into a stream at startup.