News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Ring Out Dynamic User ,Ring Out dynamic user
Tags: rest api
Apr 12, 2021 at 1:34pm   •   4 replies  •  0 likes
Nicholas Roeder

How can we use ring out with the current logged in user and not hard code the below details? Currently using SSO with Microsoft Azure.

const string RINGCENTRAL_USERNAME = "<YOUR ACCOUNT PHONE NUMBER>";
const string RINGCENTRAL_PASSWORD = "<YOUR ACCOUNT PASSWORD>";
const string RINGCENTRAL_EXTENSION = "<YOUR EXTENSION, PROBABLY '101'>";

,

How can we use the ring out but instead of hard coding the username, pull the current logged in user. Currently using SSO Microsoft Azure.


const string RINGCENTRAL_USERNAME = "<YOUR ACCOUNT PHONE NUMBER>";

const string RINGCENTRAL_PASSWORD = "<YOUR ACCOUNT PASSWORD>";

const string RINGCENTRAL_EXTENSION = "<YOUR EXTENSION, PROBABLY '101'>";

4 Answers
answered on Apr 12, 2021 at 5:44pm  

lol sorry was trying to reply from my phone.

So if I use the 3-legged authorization


Will I still use https://developers.ringcentral.com/guide/voice/quick-start#c# for ring out?


If so then do I delete


-------------------

const string RINGCENTRAL_USERNAME = "<YOUR ACCOUNT PHONE NUMBER>";

const string RINGCENTRAL_PASSWORD = "<YOUR ACCOUNT PASSWORD>";

const string RINGCENTRAL_EXTENSION = "<YOUR EXTENSION, PROBABLY '101'>";

------------------


Or do i put some type of variable that is pulled from the 3-legged authorization. I don't see anything in the response that would fit the above variables.


 0
answered on Apr 12, 2021 at 3:12pm  

Ok if I do that do i not need

const string RINGCENTRAL_EXTENSION = "<YOUR EXTENSION, PROBABLY '101'>";

or do I put something in place for those variables?


 0
on Apr 12, 2021 at 5:12pm   •  0 likes

Do that? Do what?

answered on Apr 12, 2021 at 6:00pm  

Unfortunately the sample apps and sample code that RingCentral shows everywhere uses the Password flow.


 0
on Apr 12, 2021 at 8:26pm   •  0 likes
answered on Apr 12, 2021 at 2:41pm  

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us