access ssh.Users - WeOnlyDo Discussion board

access ssh.Users (wodSSH / wodSSH.NET)

by Michael, Monday, February 08, 2010, 10:21 (5184 days ago)

Hi!

I tried to access the ssh.Users collection, but it fails.
Here my code:

[code]for (int i = 0; i < ssh.Users.Count; i++)
{
wodSSHDComLIB.SSHUser u = ssh.Users(0);
active_users = active_users + + u.Login;
}[/code]

VisualStudio tells me that Users cannot be accessed.
What am I doing wrong?

Greets,

Michael


Complete thread: