Force user disconnect through SDK RRS feed

  • Question

  • I am using a monitoring service to check whether users are not connected to multiple servers (due to load-balancer fault).

    My question is, can I use admin connection (EnterpriseManagementGroup) or any other mechanism to sign out or disconnect a user?

    EnterpriseManagementGroup does support fetching usernames and sids, yet I want to be able to disconnect them as well.


    : How can I clear a user connection? I am using dispose method of EnterpriseManagementGroup per user, but the connection is still listed on the server.



    Saturday, November 17, 2018 1:38 PM

All replies

  • The most basic and manual way I can think of is the logoff command in cmd. logoff /? for usage.
    Sunday, November 18, 2018 8:32 AM