mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-28 22:23:17 +00:00
1. Added getDomain() to user-sessions for windows
2. Fixed service.restart() error condition, to reject the promise 3. Fixed ServiceMain start/stop/restart/state for Windows
This commit is contained in:
@@ -271,6 +271,10 @@ function UserSessions()
|
||||
{
|
||||
return (this.getSessionAttribute(uid, this.InfoClass.WTSUserName));
|
||||
}
|
||||
this.getDomain = function getDomain(uid)
|
||||
{
|
||||
return (this.getSessionAttribute(uid, this.InfoClass.WTSDomainName));
|
||||
}
|
||||
this.Current = function Current(cb)
|
||||
{
|
||||
var retVal = {};
|
||||
|
||||
Reference in New Issue
Block a user