How to use SID and password to fetch outlook Mail box without Mailbox access

Hi,

I have SID and Password and i need to access the outlook shared mailbox but i don’t have access to this shared mailbox. Can i access the shared mailbox through SID and password?
If yes, then how can i access??Can someone share any sample code or something??

If not then is there any other way to access the shared mailbox??