question

Nicholas Roeder avatar image
Nicholas Roeder asked Phong Vu commented

Ring Out Dynamic User ,Ring Out dynamic user

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'>";

rest api
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Nicholas Roeder avatar image
Nicholas Roeder answered Phong Vu commented

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?

1 comment
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Do that? Do what?

0 Likes 0 ·
Nicholas Roeder avatar image
Nicholas Roeder answered

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.

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Nicholas Roeder avatar image
Nicholas Roeder answered Phong Vu commented

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

1 comment
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys