Gustavo,
You can check various properties of a user account using classes in the System.DirectoryServices.AccountManagement namespace (in .NET 3.5+); for example, check
AuthenticablePrincipal.Enabled to see whether a given account is active or disabled.
I'm not sure what you mean by "does it work for multiple sessions" -- the code snippet on the home page lists
all of the sessions on the machine specified by the call to GetRemoteServer(). For that snippet to work, you'd need to download Cassia, extract the contents of the zip file, add a reference to Cassia.dll in the Bin folder, and add a "using Cassia" import.
Dan