Trying to get folder permission

hi,
I’m trying to get folder permission using IEWSClient but exception occurs ( AsposeArgumentException: invalid folder uri)

IEWSClient client = EWSClient.getEWSClient(“https://outlook.office365.com/ews/exchange.asmx”, "xyz@domain.com", “xxxxx”, “[domain.com](http://domain.com/)”);
ExchangeMailboxInfo mailboxinfo=client.getMailboxInfo();
ExchangePermissionCollection folderpermission=client.getFolderPermissions(mailboxinfo.getRootUri());

this is the code im trying.If im doing it wrong please correct the code or give me sample code to do it in correct way.

Mannu Rawat

@Mannu_rawat,

I have observed your requirement and request you to please visit this documentation link for your further kind reference. I hope the shared information will be helpful