Jump to content

Get all registered users


Ahmed

Recommended Posts

Hi all, 

Using SWYXIT! CLIENT SDK in C#, how can i get the list of all registered  users with their status? 
I found the function "GetUserPresenceInfo" which returns only the status of one specific user. 
 

Thanks, 
 

Link to comment
Share on other sites


  • 3 weeks later...

Solution: 
I used the CONFIGDATASTORE  SDK  ( https://www.swyx.com/products/support/knowledge-base/article-details/swyxknowledge/kb3216/)

and I got the registered users using this snipped code: 

 LibManager libManager = new LibManager()
            {
                BaseProtocol = SProxyObject.BaseProtocol.TCP,
                Username = "NameOfUser",
                Password = "Password",
                WSBaseUrl = "serverIpAdress",
                AuthenticationMode = SProxyObject.AuthenticationMode.UsernamePassword
            };

            // Get User Phonebook
            PBXPhoneBookPrimaryCollection phoneBook = libManager.GetUserPhoneBookEnum().GetPBXPhoneBook( "%", true, true );

 

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.