Hi, Harish,
even if you are using SSO you can provide credentials in C# code. Just use your username and windows password (of course, only for testing purposes). Without providing credentials it won't work. You could also create a new test user in your MS AD which you can use for testing purposes as well.
Regards,
------------------------------
Zdeněk Kabátek
Head of Professional Services
NEOOPS
http://www.neoops.com/Europe/Prague
------------------------------