I'm wondering if it's possible to pass a username & password to access a detached resouce in Orion.
I know I can pass the username and password in the URL as such
http://oriondemo.solarwinds.com/Orion/Voip/Summary.aspx?AccountID=Guest&Password=Orion
But let's say I'm trying to access just a detached resource. For instance, to access the Active Alerts resource let's say the URL was
http://oriondemo.solarwinds.com/NetPerfMon/DetachResource.asp?ResourceID=932&NetObject=&Width=550
How would I pass the username & password correctly to access this? It's not as obvious as tacking on"?AccountID=Guest&Password=Orion" at the end. Like....
http://oriondemo.solarwinds.com/NetPerfMon/DetachResource.asp?ResourceID=932&NetObject=&Width=550?AccountID=Guest&Password=Orion
So what's the trick?
Close - the format of URLs like this is the path to the page (/NetPerfMon/DetachResource.asp), then a question mark (?), then a series of name/value pairs separated by ampersands (&).
So in your example with the /Orion/Voip/Summary.aspx page, you were starting from a URL that didn't yet have a question mark, so you add that first, then the two name/value pairs you need (AccountID= and Password=). When starting from a URL that already has a question mark and some parameters, you don't use another question mark (there should always be only one of those). Just tack on your parameters with another ampersand. So it should look like this:
oriondemo.solarwinds.com/.../DetachResource.asp
That worked like a charm. Thanks Tim!
Quick follow-up question. I don't suppose this can be made to work if you're using IIS authentication?
I assume you mean Integrated Windows Authentication? No, that can't be bypassed with extra stuff in the URL. Either the account making the request has valid Windows credentials or it doesn't. Sorry!