Enumerating users
-
Hello! There are LsaEnumerateLogonSessions and LsaGetLogonSessionData functions which can be used to get information about the logon sessions. But is there a way to enumerate the users that are NOT logged on? Thanks in advance!
-
Hello! There are LsaEnumerateLogonSessions and LsaGetLogonSessionData functions which can be used to get information about the logon sessions. But is there a way to enumerate the users that are NOT logged on? Thanks in advance!
Thinking about what you're asking... There's local users... There's users of domain AAAA - which would require lots of traffic... There's users of domain BBBB - which would require lots of traffic... There's users of domain CCCC - which would require lots of traffic... oh, and this domain server is in Mongolia. Their head office guy is visiting this week. And so on. So, I strongly doubt it! Iain.
In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
-
Hello! There are LsaEnumerateLogonSessions and LsaGetLogonSessionData functions which can be used to get information about the logon sessions. But is there a way to enumerate the users that are NOT logged on? Thanks in advance!
Eikthrynir wrote:
But is there a way to enumerate the users that are NOT logged on?
Such as
NetUserEnum()
?"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
Hello! There are LsaEnumerateLogonSessions and LsaGetLogonSessionData functions which can be used to get information about the logon sessions. But is there a way to enumerate the users that are NOT logged on? Thanks in advance!
are you talking about single computer or domain?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
are you talking about single computer or domain?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
Single computer. Anyway, I that NetUserEnum does the job.
-
Eikthrynir wrote:
But is there a way to enumerate the users that are NOT logged on?
Such as
NetUserEnum()
?"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
I think this is what I have been looking for. Thanks a lot!