Search code examples
c#lynclync-2013lync-client-sdk

Sign out a specific lync user using lync sdk


as you might know lync support multi users to be logged in same time, this cause a problems to our application so we want to force the first user to log out once a second user logged in.

Is there a way to sign out a specific lync user using lync sdk (client sdk or server sdk)? I can't find anything in lync sdk or lync server sdk or event on the web.

Any help will be appreciated.


Solution

  • Each logged in user in Lync is an endpoint. You can use the Set-CsRegistrarConfiguration powershell command to change the MaxEndpointsPerUser setting. Setting it to 1 disallows users to create more than a single endpoint.

    Lync Server lets you set the maximum number of endpoints to any integer value between 1 and 64, inclusive. The default value is 8.