Home All Groups Group Topic Archive Search About

Vb and Active Directory

Author
12 May 2009 1:04 PM
Ty
Hello,

I have a program that pulls all our PC names out of AD. I was
wondering is it possible to search for a user on the domain and get
the PC they are currently logged into?

I am creating a intranet one way message app that will be used by my
self and the other tech people to send messages to users. I am using a
server client model and the client software will only be a listen and
display mode while the sever will be a sender. The app functions fine
I was just thinking that it would be nice to add the search function
as our organization uses generic department names for the PCs.

Thanks,
Ty

Author
13 May 2009 12:03 AM
Michael D. Ober
Show quote Hide quote
"Ty" <tbar***@lewistownhospital.org> wrote in message
news:b85bae9b-0f48-421e-8ac3-1a582bbe2b1c@s20g2000vbp.googlegroups.com...
> Hello,
>
> I have a program that pulls all our PC names out of AD. I was
> wondering is it possible to search for a user on the domain and get
> the PC they are currently logged into?
>
> I am creating a intranet one way message app that will be used by my
> self and the other tech people to send messages to users. I am using a
> server client model and the client software will only be a listen and
> display mode while the sever will be a sender. The app functions fine
> I was just thinking that it would be nice to add the search function
> as our organization uses generic department names for the PCs.
>
> Thanks,
> Ty
>


If you're not serious about rolling your own - turn on the Windows Messenger
service.  Then you can use Net Send <user> Message.

Mike.
Author
13 May 2009 2:43 PM
Ty
Show quote Hide quote
On May 12, 8:03 pm, "Michael D. Ober" <ober***@.alum.mit.edu.nospam.>
wrote:
> "Ty" <tbar***@lewistownhospital.org> wrote in message
>
> news:b85bae9b-0f48-421e-8ac3-1a582bbe2b1c@s20g2000vbp.googlegroups.com...
>
>
>
>
>
> > Hello,
>
> > I have a program that pulls all our PC names out of AD. I was
> > wondering is it possible to search for a user on the domain and get
> > the PC they are currently logged into?
>
> > I am creating a intranet one way message app that will be used by my
> > self and the other tech people to send messages to users. I am using a
> > server client model and the client software will only be a listen and
> > display mode while the sever will be a sender. The app functions fine
> > I was just thinking that it would be nice to add the search function
> > as our organization uses generic department names for the PCs.
>
> > Thanks,
> > Ty
>
> If you're not serious about rolling your own - turn on the Windows Messenger
> service.  Then you can use Net Send <user> Message.
>
> Mike.- Hide quoted text -
>
> - Show quoted text -

Mike,
Not sure about your comment as I am rolling my own and it functions
fine. I was just looking at adding the ability to get the name of a PC
the user is log into from AD and wondering if that information is
avaliable from AD.

Ty
Author
13 May 2009 5:26 PM
Cor Ligthert[MVP]
Ty,

There are several ways to access the Active Directory with VB.

Be aware that there is changing a lot in this area, as there was in past
only the old LDAP

http://msdn.microsoft.com/en-us/library/bb852218.aspx

Cor

Show quoteHide quote
"Ty" <tbar***@lewistownhospital.org> wrote in message
news:b85bae9b-0f48-421e-8ac3-1a582bbe2b1c@s20g2000vbp.googlegroups.com...
> Hello,
>
> I have a program that pulls all our PC names out of AD. I was
> wondering is it possible to search for a user on the domain and get
> the PC they are currently logged into?
>
> I am creating a intranet one way message app that will be used by my
> self and the other tech people to send messages to users. I am using a
> server client model and the client software will only be a listen and
> display mode while the sever will be a sender. The app functions fine
> I was just thinking that it would be nice to add the search function
> as our organization uses generic department names for the PCs.
>
> Thanks,
> Ty