TS programming questions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.terminalserver.misc,microsoft.public.windows.terminal_services (More info?)

Hello there
I need to ask some question about Terminal service administration
programmatically.
where do I do that?
if here is the right place, as a starter I need to get a list of logged on
users on a TS server, any ideas?
Thanks in advance
Regards
Sameh
 
Archived from groups: microsoft.public.windowsnt.terminalserver.misc,microsoft.public.windows.terminal_services (More info?)

You can use WTSEnumerateSessions functions. For more info on other TS apis,
please visit:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_api_functions.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_wmi_provider_classes.asp

thanks
Soo Kuan


--
This posting is provided "AS IS" with no warranties, and confers no rights


"Sameh Ahmed" <essoplus@hotmail.com> wrote in message
news:ujt7kGEJEHA.3104@TK2MSFTNGP10.phx.gbl...
> Hello there
> I need to ask some question about Terminal service administration
> programmatically.
> where do I do that?
> if here is the right place, as a starter I need to get a list of logged on
> users on a TS server, any ideas?
> Thanks in advance
> Regards
> Sameh
>
>
 
Archived from groups: microsoft.public.windowsnt.terminalserver.misc,microsoft.public.windows.terminal_services (More info?)

thanks for your time
these function are c/c++, is there a way to use them through VB .net ?

"Soo Kuan Teo [MS]" <sookuant@online.microsoft.com> wrote in message
news:uTHgvjlJEHA.3436@tk2msftngp13.phx.gbl...
> You can use WTSEnumerateSessions functions. For more info on other TS
apis,
> please visit:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_api_functions.asp
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_wmi_provider_classes.asp
>
> thanks
> Soo Kuan
>
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Sameh Ahmed" <essoplus@hotmail.com> wrote in message
> news:ujt7kGEJEHA.3104@TK2MSFTNGP10.phx.gbl...
> > Hello there
> > I need to ask some question about Terminal service administration
> > programmatically.
> > where do I do that?
> > if here is the right place, as a starter I need to get a list of logged
on
> > users on a TS server, any ideas?
> > Thanks in advance
> > Regards
> > Sameh
> >
> >
>
>
 
Archived from groups: microsoft.public.windowsnt.terminalserver.misc,microsoft.public.windows.terminal_services (More info?)

You can find resources here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconInteroperatingWithUnmanagedCode.asp

thanks
Soo Kuan


--
This posting is provided "AS IS" with no warranties, and confers no rights


"Sameh Ahmed" <essoplus@hotmail.com> wrote in message
news:#37nWNoJEHA.2884@TK2MSFTNGP12.phx.gbl...
> thanks for your time
> these function are c/c++, is there a way to use them through VB .net ?
>
> "Soo Kuan Teo [MS]" <sookuant@online.microsoft.com> wrote in message
> news:uTHgvjlJEHA.3436@tk2msftngp13.phx.gbl...
> > You can use WTSEnumerateSessions functions. For more info on other TS
> apis,
> > please visit:
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_api_functions.asp
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/termserv/termserv/terminal_services_wmi_provider_classes.asp
> >
> > thanks
> > Soo Kuan
> >
> >
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
rights
> >
> >
> > "Sameh Ahmed" <essoplus@hotmail.com> wrote in message
> > news:ujt7kGEJEHA.3104@TK2MSFTNGP10.phx.gbl...
> > > Hello there
> > > I need to ask some question about Terminal service administration
> > > programmatically.
> > > where do I do that?
> > > if here is the right place, as a starter I need to get a list of
logged
> on
> > > users on a TS server, any ideas?
> > > Thanks in advance
> > > Regards
> > > Sameh
> > >
> > >
> >
> >
>
>