Jump to content
Ahmed

Get all registered users

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, 
 

Share this post


Link to post
Share on other sites

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 );

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • 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.